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:
parent
487ff740cb
commit
82b6e4d903
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,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);
|
||||
|
|
Loading…
Add table
Reference in a new issue