arm64: Remove the get_thread_info() function
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 18 Feb 2016 15:50:04 +0000 (15:50 +0000)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 14:19:24 +0000 (22:19 +0800)
commit9193df45aa67b769ee8af97609537a876a81baca
tree3891340819229c44c3d5576cfe7c3bac0aea95a4
parentcdfec5aaf4a886521b7f54dfe2db61735558d546
arm64: Remove the get_thread_info() function

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 e950631e84e7e38892ffbeee5e1816b270026b0e)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/include/asm/thread_info.h
arch/arm64/kernel/process.c
arch/arm64/mm/fault.c