riscv: rely on core code to keep thread_info::cpu updated
mainline inclusion from mainline-v5.16-rc1 commit 8aa0fb0f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I4Q94A CVE: NA ------------------------------ 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: NArd Biesheuvel <ardb@kernel.org> Acked-by: NPalmer Dabbelt <palmerdabbelt@google.com> Acked-by: NMark Rutland <mark.rutland@arm.com> Signed-off-by: NGuan Jing <guanjing6@huawei.com> Reviewed-by: NChen Hui <judy.chenhui@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录