linux-mips
[Top] [All Lists]

[PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y

To: linux-mips@linux-mips.org
Subject: [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun, 18 Feb 2007 00:57:48 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c
index 125a4a8..60104e2 100644
--- a/arch/mips/mm/init.c
+++ b/arch/mips/mm/init.c
@@ -61,7 +61,9 @@
 
 DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
 
+#ifdef CONFIG_HIGHMEM
 unsigned long highstart_pfn, highend_pfn;
+#endif
 
 /*
  * We have up to 8 empty zeroed pages so we can map one of the right colour

<Prev in Thread] Current Thread [Next in Thread>