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:
Runmin Wang 2017-02-10 11:59:33 -08:00
parent 487ff740cb
commit 82b6e4d903

View file

@ -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);