Append the "VMEMMAP" flag to machdep's flags too. Signed-off-by: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx> --- x86_64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x86_64.c b/x86_64.c index f5e70b5..c8c6819 100644 --- a/x86_64.c +++ b/x86_64.c @@ -296,6 +296,8 @@ x86_64_init(int when) machdep->machspec->modules_end = MODULES_END_5LEVEL; machdep->machspec->vmemmap_vaddr = VMEMMAP_VADDR_5LEVEL; machdep->machspec->vmemmap_end = VMEMMAP_END_5LEVEL; + if (symbol_exists("vmemmap_populate")) + machdep->flags |= VMEMMAP; machdep->machspec->physical_mask_shift = __PHYSICAL_MASK_SHIFT_5LEVEL; machdep->machspec->pgdir_shift = PGDIR_SHIFT_5LEVEL; machdep->machspec->ptrs_per_pgd = PTRS_PER_PGD_5LEVEL; -- 2.14.3 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility