Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b58e5d05 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

[MIPS] Fix size of zones_size and zholes_size array



Commit f06a9684 broke MIPS.

Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 34c2dd01
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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