diff options
author | Will Deacon <will@kernel.org> | 2020-10-09 13:24:17 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-10-09 13:24:17 +0300 |
commit | d13027bb35e089bc1bb9f19c4976decf32a09b97 (patch) | |
tree | fe5e98288f7c0bdb4842ae78f6793d20288d66db /arch/arm64/include | |
parent | a82e4ef0417b89c6707706b9194fb0c7872a4c6a (diff) | |
download | linux-d13027bb35e089bc1bb9f19c4976decf32a09b97.tar.xz |
Revert "arm64: initialize per-cpu offsets earlier"
This reverts commit 353e228eb355be5a65a3c0996c774a0f46737fda.
Qian Cai reports that TX2 no longer boots with his .config as it appears
that task_cpu() gets instrumented and used before KASAN has been
initialised.
Although Mark has a proposed fix, let's take the safe option of reverting
this for now and sorting it out properly later.
Link: https://lore.kernel.org/r/711bc57a314d8d646b41307008db2845b7537b3d.camel@redhat.com
Reported-by: Qian Cai <cai@redhat.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h index d9d60b18e811..7faae6ff3ab4 100644 --- a/arch/arm64/include/asm/cpu.h +++ b/arch/arm64/include/asm/cpu.h @@ -68,6 +68,4 @@ void __init init_cpu_features(struct cpuinfo_arm64 *info); void update_cpu_features(int cpu, struct cpuinfo_arm64 *info, struct cpuinfo_arm64 *boot); -void init_this_cpu_offset(void); - #endif /* __ASM_CPU_H */ |