diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-02-22 10:32:50 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-02-26 17:57:59 +0100 |
commit | 4caf8758b60b6f7f9773fd1d265cb5a7cf935c97 (patch) | |
tree | 94cfb17194e4b36aef489e9564cf7c8d63fb742d /Documentation/arm64 | |
parent | arm64: Remove documentation about TIF_USEDFPU (diff) | |
download | linux-4caf8758b60b6f7f9773fd1d265cb5a7cf935c97.tar.xz linux-4caf8758b60b6f7f9773fd1d265cb5a7cf935c97.zip |
arm64: Rename get_thread_info()
The assembly macro get_thread_info() actually returns a task_struct and is
analogous to the current/get_current macro/function.
While it could be argued that thread_info sits at the start of
task_struct and the intention could have been to return a thread_info,
instances of loads from/stores to the address obtained from
get_thread_info() use offsets that are generated with
offsetof(struct task_struct, [...]).
Rename get_thread_info() to state it returns a task_struct.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions