diff options
author | James Morse <james.morse@arm.com> | 2022-07-13 11:24:23 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-08-29 15:30:11 +0100 |
commit | e0b03e8eca149e05dd5cf707c40cb989cf74357d (patch) | |
tree | c8d794fdfbec48e85829513d911fb27623aa37cf /scripts/gdb/linux/utils.py | |
parent | 65c32d8db03c370daa6666e8c010dc606b8be3e4 (diff) |
LoongArch: Use the __weak version of arch_unregister_cpu()
LoongArch provides its own arch_unregister_cpu(). This clears the
hotpluggable flag, then unregisters the CPU.
It isn't necessary to clear the hotpluggable flag when unregistering
a cpu. unregister_cpu() writes NULL to the percpu cpu_sys_devices
pointer, meaning cpu_is_hotpluggable() will return false, as
get_cpu_device() has returned NULL.
Remove arch_unregister_cpu() and use the __weak version.
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions