Skip to content

Commit

Permalink
[MIPS] Fix size of zones_size and zholes_size array
Browse files Browse the repository at this point in the history
Commit f06a968 broke MIPS.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Oct 3, 2006
1 parent 34c2dd0 commit b58e5d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b58e5d0

Please sign in to comment.