mm: check virt_to_xxxx macro on 32bit OS [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Tue, 25 Dec 2018 11:17:25 +0000 (19:17 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Sat, 29 Dec 2018 02:25:58 +0000 (10:25 +0800)
commitb9e04d50ce67a2ed1ac20e91c4ef113b7e933c41
treee3d3312bde88e2871acdb62b30968b3bbae30faa
parent832cded75e4be6fb15599f2216b5f7281eece9f8
mm: check virt_to_xxxx macro on 32bit OS [1/1]

PD#SWPL-1909

Problem:
virt_to_page may get bad input with virtual address
in high mem.

Solution:
Check input address of this macro and get a warn print

Verify:
p212

Change-Id: I69d81f7aac43f1865d3d1112263276603de166ce
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
arch/arm/include/asm/memory.h