diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-09-29 14:34:06 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-10-03 12:59:18 -0400 |
commit | b58e5d050ff60335b106a895a87a59a8f5475db4 (patch) | |
tree | 4a317401a14c97fb4838ca4302dca03342145200 /arch/mips/mm/init.c | |
parent | 34c2dd01fd10268fb8f362c8275f75517770e286 (diff) |
[MIPS] Fix size of zones_size and zholes_size array
Commit f06a96844a577c43249fce25809a4fae07407f46 broke MIPS.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/init.c')
-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 5b06349af2d5..88b72c9a8495 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c | |||
@@ -163,10 +163,10 @@ static int __init page_is_ram(unsigned long pagenr) | |||
163 | 163 | ||
164 | void __init paging_init(void) | 164 | void __init paging_init(void) |
165 | { | 165 | { |
166 | unsigned long zones_size[] = { 0, }; | 166 | unsigned long zones_size[MAX_NR_ZONES] = { 0, }; |
167 | unsigned long max_dma, high, low; | 167 | unsigned long max_dma, high, low; |
168 | #ifndef CONFIG_FLATMEM | 168 | #ifndef CONFIG_FLATMEM |
169 | unsigned long zholes_size[] = { 0, }; | 169 | unsigned long zholes_size[MAX_NR_ZONES] = { 0, }; |
170 | unsigned long i, j, pfn; | 170 | unsigned long i, j, pfn; |
171 | #endif | 171 | #endif |
172 | 172 | ||