mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
This function was introduced by previous commits implementing UAO.
However, it can be replaced with task_thread_info() in
uao_thread_switch() or get_fs() in do_page_fault() (the latter being
called only on the current context, so no need for using the saved
pt_regs).
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit e950631e84)
Signed-off-by: Alex Shi <alex.shi@linaro.org>