| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] fix size of zones_size and zholes_size array |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Sat, 30 Sep 2006 03:34:06 +0900 (JST) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
The commit f06a96844a577c43249fce25809a4fae07407f46 broke mips.
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 a624778..2f346d1 100644
--- a/arch/mips/mm/init.c
+++ b/arch/mips/mm/init.c
@@ -357,10 +357,10 @@ static int __init page_is_ram(unsigned l
void __init paging_init(void)
{
- unsigned long zones_size[] = { 0, };
+ unsigned long zones_size[MAX_NR_ZONES] = { 0, };
unsigned long max_dma, high, low;
#ifndef CONFIG_FLATMEM
- unsigned long zholes_size[] = { 0, };
+ unsigned long zholes_size[MAX_NR_ZONES] = { 0, };
unsigned long i, j, pfn;
#endif
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH] cleanup hardcoding __pa/__va macros etc. (take-5), Atsushi Nemoto |
|---|---|
| Next by Date: | Re: PATCH] cleanup hardcoding __pa/__va macros etc. (take-5), girish |
| Previous by Thread: | [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1), girish |
| Next by Thread: | Re: [PATCH] fix size of zones_size and zholes_size array, girish |
| Indexes: | [Date] [Thread] [Top] [All Lists] |