x86/microcode: fix sleeping function called from invalid context at kernel/mutex.c
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Thu, 2 Oct 2008 13:56:19 +0000 (16:56 +0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 2 Oct 2008 15:52:33 +0000 (17:52 +0200)
commitfd1452ebf257317f24e0e285a17a2ec2ce3e6df7
tree315d1024bb974e8c20f2d451aefa23562e6f2be7
parent82b078659ed04e1ecdebf8326e189cf76ed361af
x86/microcode: fix sleeping function called from invalid context at kernel/mutex.c

Fix the following "sleeping function called from invalid context" bug:

...
__might_sleep
mutex_lock_nested
microcode_update_cpu
mc_sysdev_resume
__sysdev_resume
sysdev_resume
device_power_up
...

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_core.c