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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
---
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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux