summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/Makefile
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>2012-01-14 08:11:31 +0530
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-13 19:11:35 -0800
commita3301b751b19f0efbafddc4034f8e7ce6bf3007b (patch)
tree1b94ed9c9ecf887c53bb416d5e7b59694aa353f6 /arch/x86/kvm/Makefile
parent96e80a7851b44f3decaac0625665cd64e550b71d (diff)
downloadlinux-a3301b751b19f0efbafddc4034f8e7ce6bf3007b.tar.gz
linux-a3301b751b19f0efbafddc4034f8e7ce6bf3007b.tar.bz2
linux-a3301b751b19f0efbafddc4034f8e7ce6bf3007b.zip
x86/mce: Fix CPU hotplug and suspend regression related to MCE
Commit 8a25a2fd126c ("cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem") changed how things are dealt with in the MCE subsystem. Some of the things that got broken due to this are CPU hotplug and suspend/hibernate. MCE uses per_cpu allocations of struct device. So, when a CPU goes offline and comes back online, in order to ensure that we start from a clean slate with respect to the MCE subsystem, zero out the entire per_cpu device structure to 0 before using it. Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kvm/Makefile')
0 files changed, 0 insertions, 0 deletions