]> git.baikalelectronics.ru Git - kernel.git/commit
smp/hotplug: Track booted once CPUs in a cpumask
authorThomas Gleixner <tglx@linutronix.de>
Mon, 22 Jul 2019 18:47:16 +0000 (20:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Jul 2019 13:47:37 +0000 (15:47 +0200)
commitcc87f22bcf64831171d34aa0b1d59dabcb984e68
treecb0bbe066270a64ff96721d63c4b2c5c31cd2591
parent9265368d9efb85321693ac6d39a2288bf5119c42
smp/hotplug: Track booted once CPUs in a cpumask

The booted once information which is required to deal with the MCE
broadcast issue on X86 correctly is stored in the per cpu hotplug state,
which is perfectly fine for the intended purpose.

X86 needs that information for supporting NMI broadcasting via shortcuts,
but retrieving it from per cpu data is cumbersome.

Move it to a cpumask so the information can be checked against the
cpu_present_mask quickly.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105219.818822855@linutronix.de
include/linux/cpumask.h
kernel/cpu.c