UPSTREAM: arm64: Remove the get_thread_info() function
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 18 Feb 2016 15:50:04 +0000 (15:50 +0000)
committerJeff Vander Stoep <jeffv@google.com>
Thu, 22 Sep 2016 20:38:22 +0000 (13:38 -0700)
commitc39e2026d6c2daef475d66cc0656769f93b42fc4
tree62cac1923dc7ecc59071374053d8bf4c2e97cafc
parent612055f383a023e12042f75d6d951e76ee4c5748
UPSTREAM: 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>
Bug: 30369029
Patchset: kaslr-arm64-4.4

(cherry picked from commit e950631e84e7e38892ffbeee5e1816b270026b0e)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: Ic6e9b6af7314fa83d9b0773ae3fac5a2ff34e67a
arch/arm64/include/asm/thread_info.h
arch/arm64/kernel/process.c
arch/arm64/mm/fault.c