[PATCH] i386: restore proper asm constraints in do_IRQ()

From: Jan Beulich
Date: Mon Dec 10 2007 - 11:37:00 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 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc4/arch/x86/kernel/irq_32.c 2007-12-07 09:00:59.000000000 +0100
+++ 2.6.24-rc4-i386-do_IRQ-constraints/arch/x86/kernel/irq_32.c 2007-12-04 16:09:33.000000000 +0100
@@ -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



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