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

From: Huang Ying
Date: Thu Aug 07 2008 - 08:32:34 EST


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

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

---
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/