There is numa_add_cpu() when cpus online, accordingly, there should be
numa_remove_cpu() when cpus offline.
Signed-off-by: Pingfan Liu <[email protected]>
Fixes: 4f0e8eef77 ("riscv: Add numa support for riscv64 platform")
Cc: [email protected]
[Palmer: Add missing NUMA include]
Signed-off-by: Palmer Dabbelt <[email protected]>
Except arch_cpu_idle_dead(), no users of this function. So remove
cpu_stop() and fold its code into arch_cpu_idle_dead().
Signed-off-by: Jisheng Zhang <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>