Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc0c9ea3 authored by Runmin Wang's avatar Runmin Wang
Browse files

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: default avatarRunmin Wang <runminw@codeaurora.org>
parent 1f85ba8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);