| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] use CONFIG_64BIT for /proc/kcore fix |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Mon, 06 Feb 2006 22:42:31 +0900 (JST) |
| Cc: | ralf@linux-mips.org |
| In-reply-to: | <20060116155343.GE26771@deprecation.cyrius.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20050121005954.GA10260@nevyn.them.org> <20050214020209.GA25335@nevyn.them.org> <20060116155343.GE26771@deprecation.cyrius.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
CONFIG_MIPS64 was replaced by CONFIG_64BIT a while ago.
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 4188df8..0ff9a34 100644
--- a/arch/mips/mm/init.c
+++ b/arch/mips/mm/init.c
@@ -202,7 +202,7 @@ static inline int page_is_ram(unsigned l
}
static struct kcore_list kcore_mem, kcore_vmalloc;
-#ifdef CONFIG_MIPS64
+#ifdef CONFIG_64BIT
static struct kcore_list kcore_kseg0;
#endif
@@ -255,7 +255,7 @@ void __init mem_init(void)
datasize = (unsigned long) &_edata - (unsigned long) &_etext;
initsize = (unsigned long) &__init_end - (unsigned long) &__init_begin;
-#ifdef CONFIG_MIPS64
+#ifdef CONFIG_64BIT
if ((unsigned long) &_text > (unsigned long) CKSEG0)
/* The -4 is a hack so that user tools don't have to handle
the overflow. */
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch 14/44] generic hweight{64,32,16,8}(), Akinobu Mita |
|---|---|
| Next by Date: | Has anyone seen O2 crashes?, Martin Michlmayr |
| Previous by Thread: | Fw:, Janet Kinsella |
| Next by Thread: | Re: [PATCH] use CONFIG_64BIT for /proc/kcore fix, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |