[PATCH 5/6] kexec jump: fix for lockdep

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Huang Ying
Date: Thursday, August 7, 2008 - 2:05 am

Replace local_irq_disable() with raw_local_irq_disable() to prevent
lockdep complain.

Signed-off-by: Huang Ying <ying.huang@intel.com>

---
 arch/x86/kernel/machine_kexec_32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kernel/machine_kexec_32.c
+++ b/arch/x86/kernel/machine_kexec_32.c
@@ -130,7 +130,7 @@ void machine_kexec(struct kimage *image)
 #endif
 
 	/* Interrupts aren't acceptable while we reboot */
-	local_irq_disable();
+	raw_local_irq_disable();
 
 	if (image->preserve_context) {
 #ifdef CONFIG_X86_IO_APIC


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 5/6] kexec jump: fix for lockdep, Huang Ying, (Thu Aug 7, 2:05 am)