riscv: rely on core code to keep thread_info::cpu updated
authorArd Biesheuvel <ardb@kernel.org>
Tue, 14 Sep 2021 12:10:35 +0000 (14:10 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 30 Sep 2021 14:13:11 +0000 (16:13 +0200)
commit8aa0fb0fbb82a4d2395be7eaeb994653b2d869fc
tree858e12d8312831e089a2babc077ced917c27f47d
parent336868afbaae2d153fc20268a21747c31e5071b8
riscv: rely on core code to keep thread_info::cpu updated

Now that the core code switched back to using thread_info::cpu to keep
a task's CPU number, we no longer need to keep it in sync explicitly. So
just drop the code that does this.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
arch/riscv/kernel/asm-offsets.c
arch/riscv/kernel/entry.S
arch/riscv/kernel/head.S