4 Nov 2010 09:15
[PATCH 2/2] ARM: don't depend on vmalloc_start
In ARM, modules are placed in vmalloc'ed area right above user stack and the rest of the vmalloc area is somewhere after high_memory (this can be different on different platforms). Since this value is not stored in vmcoreinfo, we have no means to find out the correct value for vmalloc_start. So we assume that all V->P translations are within the kernel direct mapped memory and use translation tables only when '--vtop' option is passed. Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@...> --- arm.c | 40 +++++++++++++++++++--------------------- 1 files changed, 19 insertions(+), 21 deletions(-) diff --git a/arm.c b/arm.c index 3ea450a..6469f03 100644 --- a/arm.c +++ b/arm.c <at> <at> -86,6 +86,9 <at> <at> get_machdep_info_arm(void) info->kernel_start = SYMBOL(_stext); info->section_size_bits = _SECTION_SIZE_BITS; + DEBUG_MSG("page_offset : %lx\n", info->page_offset); + DEBUG_MSG("kernel_start : %lx\n", info->kernel_start); + /* * For the compatibility, makedumpfile should run without the symbol * vmlist and the offset of vm_struct.addr if they are not necessary. <at> <at> -95,31 +98,28 <at> <at> get_machdep_info_arm(void) return TRUE; }(Continue reading)


RSS Feed