Pingfan Liu f40fe31c01
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>
2022-02-10 09:16:50 -08:00
..
2021-04-26 08:25:24 -07:00
2021-04-26 08:25:23 -07:00
2020-10-02 14:31:28 -07:00
2022-02-04 11:11:07 -08:00
2020-06-09 19:11:24 -07:00
2022-01-20 10:24:12 -08:00
2021-01-07 19:00:50 -08:00
2021-12-13 12:04:45 -06:00