amlogic: mm: Add aml_task_stack() in amlogic vmap 71/252171/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 25 Jan 2021 06:40:42 +0000 (15:40 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 25 Jan 2021 06:49:58 +0000 (15:49 +0900)
commite4fd24aeabed64cd82033a53f0ef130a07f2932d
tree04d4b3773ba8812c13868e27f5598cab5719a3e2
parentc8cda0b6868bd5b0335e91cd0274a59fe359e207
amlogic: mm: Add aml_task_stack() in amlogic vmap

In kerne, there are several places to get stack page address of
task and when using AMLOGIC_VMAP, task_stack_page() does not
return page address. Add aml_task_stack() to get task stack page
for amlogic vmap.

Change-Id: I64cd827f98bec74357227dcc3ed546807b5406e3
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/memory_ext/vmap_stack.c
include/linux/amlogic/vmap_stack.h