From: Xiaotian Feng Date: Tue, 29 Mar 2011 08:34:32 +0000 (+0800) Subject: x86, microcode: Unregister syscore_ops after microcode unloaded X-Git-Tag: v2.6.39-rc2~19^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac5fc6a3e4d90120f292526bcaa5ee182a7411b;p=pandora-kernel.git x86, microcode: Unregister syscore_ops after microcode unloaded Currently, microcode doesn't unregister syscore_ops after it's unloaded. So if we modprobe then rmmod microcode, the stale microcode syscore_ops info will stay on syscore_ops_list. Later when we're trying to reboot/halt/shutdown the machine, kernel will panic on syscore_shutdown(). With the patch applied, I can reboot/halt/shutdown my machine successfully. Signed-off-by: Xiaotian Feng Cc: Tigran Aivazian Cc: Rafael J. Wysocki LKML-Reference: <1301387672-23661-1-git-send-email-dfeng@redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed