You could try this patch.

p.

diff -udpNr linux/arch/arm/kernel/fiq.c linux-001115/arch/arm/kernel/fiq.c
--- linux/arch/arm/kernel/fiq.c Tue Sep 12 21:48:23 2000
+++ linux-001115/arch/arm/kernel/fiq.c  Sun Aug 27 22:12:13 2000
@@ -139,7 +139,7 @@ void set_fiq_regs(struct pt_regs *regs)
        msr     cpsr, %0        @ return to SVC mode
        mov     r0, r0"
 #endif
-       : "=r" (tmp), "=r" (tmp2)
+       : "=&r" (tmp), "=&r" (tmp2)
        : "r" (&regs->ARM_r8)
        /* These registers aren't modified by the above code in a way
           visible to the compiler, but we mark them as clobbers anyway
@@ -172,7 +172,7 @@ void get_fiq_regs(struct pt_regs *regs)
        msr     cpsr, %0        @ return to SVC mode
        mov     r0, r0"
 #endif
-       : "=r" (tmp), "=r" (tmp2)
+       : "=&r" (tmp), "=&r" (tmp2)
        : "r" (&regs->ARM_r8)
        /* These registers aren't modified by the above code in a way
           visible to the compiler, but we mark them as clobbers anyway



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to