Skip to contentSkip to conversation

i386: fix asm constraint in do_IRQ()

PATCH New Jan Beulich 1 participant 1 message Apr 22, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386: fix asm constraint in do_IRQ()

Two prior changes resulted in the "ecx" clobber being lost.

---
 arch/x86/kernel/irq_32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/irq_32.c +1 -1
@@ -134,7 +134,7 @@ unsigned int do_IRQ(struct pt_regs *regs
 			: "=a" (arg1), "=d" (arg2), "=b" (bx)
 			:  "0" (irq),   "1" (desc),  "2" (isp),
 			   "D" (desc->handle_irq)
-			: "memory", "cc"
+			: "memory", "cc", "ecx"
 		);
 	} else
 #endif