Skip to content
Commit efe22033 authored by Pingfan Liu's avatar Pingfan Liu Committed by Greg Kroah-Hartman
Browse files

riscv: cpu-hotplug: clear cpu from numa map when teardown

commit f40fe31c

 upstream.

There is numa_add_cpu() when cpus online, accordingly, there should be
numa_remove_cpu() when cpus offline.

Signed-off-by: default avatarPingfan Liu <kernelfans@gmail.com>
Fixes: 4f0e8eef

 ("riscv: Add numa support for riscv64 platform")
Cc: stable@vger.kernel.org
[Palmer: Add missing NUMA include]
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7486227f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment