Files
android_kernel_xiaomi_sm8450/arch/x86/kernel/apic
Borislav Petkov 1e66e2b862 x86/apic: Use dead_cpu instead of current CPU when cleaning up
x2apic_dead_cpu() cleans up the leftovers of a CPU which got unplugged, but
instead of clearing the dead cpu bit in the cluster mask it clears the
current (alive) cpu bit. Noticed because smp_processor_id() is called in
preemptible code and triggers a debug warning.

[ tglx: Rewrote changelog ]

Fixes: 023a611748 ("x86/apic/x2apic: Simplify cluster management")
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20170926170845.13955-1-bp@alien8.de
2017-09-27 09:37:41 +02:00
..
2017-09-25 20:51:58 +02:00
2017-09-25 20:51:50 +02:00
2017-09-25 20:51:58 +02:00
2017-09-25 20:51:58 +02:00