diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-11-03 20:23:03 (GMT) |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2017-05-27 03:16:12 (GMT) |
commit | 2ab076fe5a0d300dc259affc9d400a4c9a1789bb (patch) | |
tree | 97c68046b14b01634a9f883ca81ff6d8a4dd6ddf /arch/arm64/kernel | |
parent | eaf53d4471538868b7d2ac650e316d267c2e01ea (diff) | |
download | linux-2ab076fe5a0d300dc259affc9d400a4c9a1789bb.tar.xz |
arm64: thread_info remove stale items
We have a comment claiming __switch_to() cares about where cpu_context
is located relative to cpu_domain in thread_info. However arm64 has
never had a thread_info::cpu_domain field, and neither __switch_to nor
cpu_switch_to care where the cpu_context field is relative to others.
Additionally, the init_thread_info alias is never used anywhere in the
kernel, and will shortly become problematic when thread_info is moved
into task_struct.
This patch removes both.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit dcbe02855f048fdf1e13ebc697e83c8d297f9f5a)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions