Skip to contentSkip to conversation

i386: restore proper asm constraints in do_IRQ()

PATCH New Jan Beulich 1 participant 1 message Dec 10, 2007 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386: restore proper asm constraints in do_IRQ()

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

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