* [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y
@ 2007-02-17 15:57 Atsushi Nemoto
2007-02-19 15:00 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2007-02-17 15:57 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y
2007-02-17 15:57 [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y Atsushi Nemoto
@ 2007-02-19 15:00 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-02-19 15:00 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
On Sun, Feb 18, 2007 at 12:57:48AM +0900, Atsushi Nemoto wrote:
Thanks, I'll go for this slightly cleaner variant.
Ralf
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c
index 13a4208..f08ae71 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-19 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-17 15:57 [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y Atsushi Nemoto
2007-02-19 15:00 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox