mirror of
https://github.com/torvalds/linux
synced 2024-10-27 13:48:49 +00:00
826e99be6a
When a CPU is disabled via CPU hotplug, cpu_foreign_map is not updated.
This could result in cache management SMP calls being sent to offline
CPUs instead of online siblings in the same core.
Add a call to calculate_cpu_foreign_map() in the various MIPS cpu
disable callbacks after set_cpu_online(). All cases are updated for
consistency and to keep cpu_foreign_map strictly up to date, not just
those which may support hardware multithreading.
Fixes:
|
||
---|---|---|
.. | ||
crypto | ||
executive | ||
cpu.c | ||
csrc-octeon.c | ||
dma-octeon.c | ||
flash_setup.c | ||
Kconfig | ||
Makefile | ||
oct_ilm.c | ||
octeon-irq.c | ||
octeon-memcpy.S | ||
octeon-platform.c | ||
octeon_boot.h | ||
Platform | ||
setup.c | ||
smp.c |