diff options
Diffstat (limited to 'arch/powerpc/mm/init_64.c')
-rw-r--r-- | arch/powerpc/mm/init_64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index 31582329cd6..9ee563101b5 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c | |||
@@ -128,10 +128,11 @@ static int __init setup_kcore(void) | |||
128 | if (!kcore_mem) | 128 | if (!kcore_mem) |
129 | panic("%s: kmalloc failed\n", __func__); | 129 | panic("%s: kmalloc failed\n", __func__); |
130 | 130 | ||
131 | kclist_add(kcore_mem, __va(base), size); | 131 | kclist_add(kcore_mem, __va(base), size, KCORE_RAM); |
132 | } | 132 | } |
133 | 133 | ||
134 | kclist_add(&kcore_vmem, (void *)VMALLOC_START, VMALLOC_END-VMALLOC_START); | 134 | kclist_add(&kcore_vmem, (void *)VMALLOC_START, |
135 | VMALLOC_END-VMALLOC_START, KCORE_VMALLOC); | ||
135 | 136 | ||
136 | return 0; | 137 | return 0; |
137 | } | 138 | } |