diff options
Diffstat (limited to 'arch/mips/mm/init.c')
-rw-r--r-- | arch/mips/mm/init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/mm/init.c b/arch/mips/mm/init.c index 1f4ee4797a6e..f8661985bff6 100644 --- a/arch/mips/mm/init.c +++ b/arch/mips/mm/init.c | |||
@@ -409,11 +409,12 @@ void __init mem_init(void) | |||
409 | if ((unsigned long) &_text > (unsigned long) CKSEG0) | 409 | if ((unsigned long) &_text > (unsigned long) CKSEG0) |
410 | /* The -4 is a hack so that user tools don't have to handle | 410 | /* The -4 is a hack so that user tools don't have to handle |
411 | the overflow. */ | 411 | the overflow. */ |
412 | kclist_add(&kcore_kseg0, (void *) CKSEG0, 0x80000000 - 4); | 412 | kclist_add(&kcore_kseg0, (void *) CKSEG0, |
413 | 0x80000000 - 4, KCORE_TEXT); | ||
413 | #endif | 414 | #endif |
414 | kclist_add(&kcore_mem, __va(0), max_low_pfn << PAGE_SHIFT); | 415 | kclist_add(&kcore_mem, __va(0), max_low_pfn << PAGE_SHIFT, KCORE_RAM); |
415 | kclist_add(&kcore_vmalloc, (void *)VMALLOC_START, | 416 | kclist_add(&kcore_vmalloc, (void *)VMALLOC_START, |
416 | VMALLOC_END-VMALLOC_START); | 417 | VMALLOC_END-VMALLOC_START, KCORE_VMALLOC); |
417 | 418 | ||
418 | printk(KERN_INFO "Memory: %luk/%luk available (%ldk kernel code, " | 419 | printk(KERN_INFO "Memory: %luk/%luk available (%ldk kernel code, " |
419 | "%ldk reserved, %ldk data, %ldk init, %ldk highmem)\n", | 420 | "%ldk reserved, %ldk data, %ldk init, %ldk highmem)\n", |