arm64: process: Update the kernel offset
Kernel address is relocated to the VMALLOC region. Update the check to use KIMAGE_VADDR. Change-Id: Ie2539a78a8180a3dbc2c8075a891e99892d809f2 Signed-off-by: Runmin Wang <runminw@codeaurora.org>
This commit is contained in:
@@ -183,7 +183,7 @@ static void show_data(unsigned long addr, int nbytes, const char *name)
|
||||
* don't attempt to dump non-kernel addresses or
|
||||
* values that are probably just small negative numbers
|
||||
*/
|
||||
if (addr < PAGE_OFFSET || addr > -256UL)
|
||||
if (addr < KIMAGE_VADDR || addr > -256UL)
|
||||
return;
|
||||
|
||||
printk("\n%s: %#lx:\n", name, addr);
|
||||
|
||||
Reference in New Issue
Block a user