| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Mon, 19 Feb 2007 15:00:29 +0000 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20070218.005748.27954771.anemo@mba.ocn.ne.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20070218.005748.27954771.anemo@mba.ocn.ne.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.2i |
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; |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | IP32 prom crashes due to __pa() funkiness, Kumba |
|---|---|
| Next by Date: | Re: [PATCH] Make some __setup functions static, Ralf Baechle |
| Previous by Thread: | [PATCH] Declare highstart_pfn, highend_pfn only if CONFIG_HIGHMEM=y, Atsushi Nemoto |
| Next by Thread: | [PATCH] Make some __setup functions static, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |