commit | f40fe31c01445f31253b15bef2412b33ae31093b | [log] [tgz] |
---|---|---|
author | Pingfan Liu <kernelfans@gmail.com> | Sun Jan 23 20:13:52 2022 +0800 |
committer | Palmer Dabbelt <palmer@rivosinc.com> | Thu Feb 10 09:16:50 2022 -0800 |
tree | 5fd1ee53e7faa6c488d8f3c9ecf1e2d995cf23c4 | |
parent | f81393a5b252df772b934cde81b7e16273afbd43 [diff] |
riscv: cpu-hotplug: clear cpu from numa map when teardown There is numa_add_cpu() when cpus online, accordingly, there should be numa_remove_cpu() when cpus offline. Signed-off-by: Pingfan Liu <kernelfans@gmail.com> Fixes: 4f0e8eef772e ("riscv: Add numa support for riscv64 platform") Cc: stable@vger.kernel.org [Palmer: Add missing NUMA include] Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>