OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c2dd0
)
[MIPS] Fix size of zones_size and zholes_size array
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Fri, 29 Sep 2006 18:34:06 +0000
(
03:34
+0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 3 Oct 2006 16:59:18 +0000
(17:59 +0100)
Commit
f06a96844a577c43249fce25809a4fae07407f46
broke MIPS.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/mips/mm/init.c
b/arch/mips/mm/init.c
index
5b06349
..
88b72c9
100644
(file)
--- 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)
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