All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -v2 6/8] kexec jump: fix for lockdep
@ 2008-08-08  6:52 ` Huang Ying
  0 siblings, 0 replies; 10+ messages in thread
From: Huang Ying @ 2008-08-08  6:52 UTC (permalink / raw)
  To: Eric W. Biederman, Pavel Machek, nigel, Rafael J. Wysocki,
	Andrew Morton, Vivek Goyal, mingo, Linus Torvalds
  Cc: Kexec Mailing List, linux-kernel

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
@@ -123,7 +123,7 @@ void machine_kexec(struct kimage *image)
 	tracer_disable();
 
 	/* Interrupts aren't acceptable while we reboot */
-	local_irq_disable();
+	raw_local_irq_disable();
 
 	if (image->preserve_context) {
 #ifdef CONFIG_X86_IO_APIC



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-08-11  6:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08  6:52 [PATCH -v2 6/8] kexec jump: fix for lockdep Huang Ying
2008-08-08  6:52 ` Huang Ying
2008-08-08 10:13 ` Peter Zijlstra
2008-08-08 10:13   ` Peter Zijlstra
2008-08-11  0:59   ` Huang Ying
2008-08-11  0:59     ` Huang Ying
2008-08-11  6:09     ` Peter Zijlstra
2008-08-11  6:09       ` Peter Zijlstra
2008-08-11  6:32       ` Huang Ying
2008-08-11  6:32         ` Huang Ying

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.