This patchset is on top of Pratyush's patchset: **x86_64: Fix page_offset for randomized base enabled** Because exporting virtual address of phys_base is really helpless for Crash and Makedumpfile, so has posted a kernel patch to export value of phys_base instead. Patch 2/1 is used to adapt code for that. Patch 2/2 is a clean up patch, it's based on Pratyush's patchset. MODULES_VADDR is used to judge if a virtual address in inside kernel text region or direct mapping region. And MODULES_VADDR is decided by KERNEL_IMAGE_SIZE. With Pratyush's above patchset, KERNEL_IMAGE_SIZE is not needed. Remove it here. But Crash needs it to check if kaslr is enabled. It still need be exported. Baoquan He (2): makedumpfile: Adapt code to get value of phys_base makedumpfile: Clean up unused KERNEL_IMAGE_SIZE arch/x86_64.c | 7 +++++-- makedumpfile.c | 16 +++------------- makedumpfile.h | 5 +---- 3 files changed, 9 insertions(+), 19 deletions(-) -- 2.5.5