[PATCH] i386: fix asm constraint in do_IRQ()

From: Jan Beulich
Date: Tue Apr 22 2008 - 11:16:54 EST


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

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

---
arch/x86/kernel/irq_32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.25/arch/x86/kernel/irq_32.c 2008-04-17 04:49:44.000000000 +0200
+++ 2.6.25-i386-do_IRQ-constraints/arch/x86/kernel/irq_32.c 2008-04-15 10:49:20.000000000 +0200
@@ -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



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