[MIPS] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y
authorRalf Baechle <ralf@linux-mips.org>
Mon, 19 Feb 2007 15:00:49 +0000 (15:00 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 20 Feb 2007 01:26:41 +0000 (01:26 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c

index 13a42084443688a8911f0ce2cdb5d109bef6e832..f08ae71c46ffddad7a509b4daff7b2e578a1a86c 100644 (file)
@@ -61,8 +61,6 @@
 
 DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
 
-unsigned long highstart_pfn, highend_pfn;
-
 /*
  * We have up to 8 empty zeroed pages so we can map one of the right colour
  * when needed.  This is necessary only on R4000 / R4400 SC and MC versions
@@ -261,6 +259,8 @@ EXPORT_SYMBOL(copy_from_user_page);
 
 
 #ifdef CONFIG_HIGHMEM
+unsigned long highstart_pfn, highend_pfn;
+
 pte_t *kmap_pte;
 pgprot_t kmap_prot;