diff options
-rw-r--r-- | arch/mips/kernel/vpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index f73a89850a25..fa67e4006960 100644 --- a/arch/mips/kernel/vpe.c +++ b/arch/mips/kernel/vpe.c | |||
@@ -269,7 +269,7 @@ static void *alloc_progmem(unsigned long len) | |||
269 | * This means you must tell Linux to use less memory than you | 269 | * This means you must tell Linux to use less memory than you |
270 | * physically have, for example by passing a mem= boot argument. | 270 | * physically have, for example by passing a mem= boot argument. |
271 | */ | 271 | */ |
272 | addr = pfn_to_kaddr(max_pfn); | 272 | addr = pfn_to_kaddr(max_low_pfn); |
273 | memset(addr, 0, len); | 273 | memset(addr, 0, len); |
274 | #else | 274 | #else |
275 | /* simple grab some mem for now */ | 275 | /* simple grab some mem for now */ |