x86/microcode: Get rid of the schedule work indirection
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Oct 2023 21:23:58 +0000 (23:23 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 24 Oct 2023 13:05:54 +0000 (15:05 +0200)
commit2e1997335ceb6fc819862804f51d4fe83593c138
tree3844477350a3e1643955b5768ff269ff77a9870c
parent8529e8ab6c6fab8ebf06ead98e77d7646b42fc48
x86/microcode: Get rid of the schedule work indirection

Scheduling work on all CPUs to collect the microcode information is just
another extra step for no value. Let the CPU hotplug callback registration
do it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231017211723.354748138@linutronix.de
arch/x86/kernel/cpu/microcode/core.c