]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, microcode: Cleanup cpu hotplug notifier callback
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 23 Jul 2012 18:15:10 +0000 (20:15 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 22 Aug 2012 23:14:52 +0000 (16:14 -0700)
commit09c3f0d883300c8fc2bb62e9a70cf89a2ada9a80
tree28c96ebf149691c2c4b5c3f9328f27cbdd88a4f8
parentbb9d3e473d5b324907e15dff4e54410b28ea50e2
x86, microcode: Cleanup cpu hotplug notifier callback

Mask out CPU_TASKS_FROZEN bit so that all _FROZEN cases can be dropped.
Also, add some more comments as to why CPU_ONLINE falls through to
CPU_DOWN_FAILED (no break), and for the CPU_DEAD case. Realign debug
printks better.

Idea blatantly stolen from a tglx patch:
http://marc.info/?l=linux-kernel&m=134267779513862

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Link: http://lkml.kernel.org/r/1344361461-10076-5-git-send-email-bp@amd64.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/microcode_core.c