diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-19 15:00:49 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-20 01:26:41 +0000 |
commit | bf15f7679b5cd943758dfd538b852c2ab406bee5 (patch) | |
tree | 4ed7dbf204580776213e37c4cb5e4294efd8ddc0 /arch/mips/mm | |
parent | cc8010771d04af571eb16bee258d51dc8b620f7f (diff) | |
download | linux-3.10-bf15f7679b5cd943758dfd538b852c2ab406bee5.tar.gz linux-3.10-bf15f7679b5cd943758dfd538b852c2ab406bee5.tar.bz2 linux-3.10-bf15f7679b5cd943758dfd538b852c2ab406bee5.zip |
[MIPS] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 13a42084443..f08ae71c46f 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c @@ -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; |