[PATCH] x86-64: Fix kobject_init() WARN_ON on resume from disk
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 7 Dec 2006 01:14:12 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:12 +0000 (02:14 +0100)
commitd4c45718b3c0d3045eab803cd15fabbed1ea5bcd
treebf78d91a677be03050edb8f84f91de2d9fb0f59d
parent026c66bdda5f07959da7d74d29b18a7c480242f7
[PATCH] x86-64: Fix kobject_init() WARN_ON on resume from disk

Make mce_remove_device() clean up the kobject in per_cpu(device_mce, cpu)
after it has been unregistered.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/mce.c