Skip to contentSkip to conversation

Fix lockdep breakage under ipipe

GIT PULL Jan Kiszka 1 participant 1 message Jan 14, 2010 x86

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

The following changes since commit 5a171916b8d8009d8611b175236bb5287a0dc8e2:
Philippe Gerum (1):

        Merge branch 'ipipe-2.6.32-noarch' into ipipe-2.6.32-x86

are available in the git repository at:

git://git.kiszka.org/ipipe-2.6 queues/2.6.32-x86

Jan Kiszka (1):
x86: Do not trace Linux IRQ state in save_args

 arch/x86/kernel/entry_64.S |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

---

x86: Do not trace Linux IRQ state in save_args

If save_args is used in I-pipe mode, we must not trace Linux IRQs here, otherwise we virtually leak the mask and lockdep gets confused.

---
 arch/x86/kernel/entry_64.S |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
arch/x86/kernel/entry_64.S +4 -1
index 9985954..ce29b45 100644
@@ -344,7 +344,10 @@ ENTRY(save_args)
 	/*
 	 * We entered an interrupt context - irqs are off:
 	 */
-2:	TRACE_IRQS_OFF
+2:
+#ifndef CONFIG_IPIPE
+	TRACE_IRQS_OFF
+#endif
 	ret
 	CFI_ENDPROC
 END(save_args)
Signature · 1 line
1.6.0.2