X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fkernel%2Fentry.S;h=5eb429137e0665e6b6800949db46528e1638960f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=c1f842291da1811632b41bd72e41e77aa64336c4;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S index c1f842291..5eb429137 100644 --- a/arch/mips/kernel/entry.S +++ b/arch/mips/kernel/entry.S @@ -16,6 +16,7 @@ #include #include #include +#include #ifdef CONFIG_PREEMPT .macro preempt_stop reg=t0 @@ -139,7 +140,11 @@ LEAF(spurious_interrupt) 1: ll t0, %lo(irq_err_count)(t1) addiu t0, 1 sc t0, %lo(irq_err_count)(t1) +#if R10000_LLSC_WAR + beqzl t0, 1b +#else beqz t0, 1b +#endif #else lui t1, %hi(irq_err_count) lw t0, %lo(irq_err_count)(t1)