The patch titled mce_remove_device() clean up the kobject has been added to the -mm tree. Its filename is mce_remove_device-clean-up-the-kobject.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: mce_remove_device() clean up the kobject From: "Rafael J. Wysocki" <rjw@xxxxxxx> Make mce_remove_device() clean up the kobject in per_cpu(device_mce, cpu) after it has been unregistered. Mainly (and perhaps exclusively?) to avoid triggering a debug patch in Greg's tree. Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/x86_64/kernel/mce.c | 1 + 1 files changed, 1 insertion(+) diff -puN arch/x86_64/kernel/mce.c~mce_remove_device-clean-up-the-kobject arch/x86_64/kernel/mce.c --- a/arch/x86_64/kernel/mce.c~mce_remove_device-clean-up-the-kobject +++ a/arch/x86_64/kernel/mce.c @@ -652,6 +652,7 @@ static void mce_remove_device(unsigned i sysdev_remove_file(&per_cpu(device_mce,cpu), &attr_tolerant); sysdev_remove_file(&per_cpu(device_mce,cpu), &attr_check_interval); sysdev_unregister(&per_cpu(device_mce,cpu)); + memset(&per_cpu(device_mce, cpu).kobj, 0, sizeof(struct kobject)); } /* Get notified when a cpu comes on/off. Be hotplug friendly. */ _ Patches currently in -mm which might be from rjw@xxxxxxx are git-acpi.patch mce_remove_device-clean-up-the-kobject.patch uswsusp-add-pmops-prepareenterfinish-support-aka-platform-mode.patch swsusp-use-partition-device-and-offset-to-identify-swap-areas.patch swsusp-rearrange-swap-handling-code.patch swsusp-use-block-device-offsets-to-identify-swap-locations-rev-2.patch swsusp-add-resume_offset-command-line-parameter-rev-2.patch swsusp-document-support-for-swap-files-rev-2.patch swsusp-add-ioctl-for-swap-files-support.patch swsusp-update-userland-interface-documentation.patch swsusp-improve-handling-of-highmem.patch swsusp-improve-handling-of-highmem-fix.patch swsusp-use-__gfp_wait.patch swsusp-fix-platform-mode.patch add-include-linux-freezerh-and-move-definitions-from.patch add-include-linux-freezerh-and-move-definitions-from-ueagle-fix.patch quieten-freezer-if-config_pm_debug.patch swsusp-cleanup-whitespace-in-freezer-output.patch swsusp-thaw-userspace-and-kernel-space-separately.patch swsusp-support-i386-systems-with-pae-or-without-pse.patch suspend-dont-change-cpus_allowed-for-task-initiating-the-suspend.patch swsusp-measure-memory-shrinking-time.patch suspend-to-disk-fails-if-gdb-is-suspended-with-a-traced-child.patch convert-pm_sem-to-a-mutex.patch convert-pm_sem-to-a-mutex-fix.patch swsusp-untangle-thaw_processes.patch swsusp-untangle-freeze_processes.patch swsusp-fix-coding-style-in-suspendc.patch swsusp-fix-labels.patch support-for-freezeable-workqueues.patch use-freezeable-workqueues-in-xfs.patch md-change-lifetime-rules-for-md-devices.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html