From 323f60a0deebe7b4f3414dee0f86356a9b8db491 Mon Sep 17 00:00:00 2001 From: fang Date: Wed, 3 Nov 2010 18:22:49 +0800 Subject: [PATCH] Gic 32 int Bug --- arch/arm/mach-rk29/include/mach/entry-macro.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rk29/include/mach/entry-macro.S b/arch/arm/mach-rk29/include/mach/entry-macro.S index 92676d7160d2..9ef5aeae8bc9 100644 --- a/arch/arm/mach-rk29/include/mach/entry-macro.S +++ b/arch/arm/mach-rk29/include/mach/entry-macro.S @@ -51,7 +51,7 @@ bic \irqnr, \irqstat, #0x1c00 - cmp \irqnr, #32 + cmp \irqnr, #31 cmpcc \irqnr, \irqnr cmpne \irqnr, \tmp cmpcs \irqnr, \irqnr @@ -66,7 +66,7 @@ .macro test_for_ipi, irqnr, irqstat, base, tmp bic \irqnr, \irqstat, #0x1c00 - cmp \irqnr, #16 + cmp \irqnr, #31 it cc strcc \irqstat, [\base, #GIC_CPU_EOI] it cs @@ -78,7 +78,7 @@ .macro test_for_ltirq, irqnr, irqstat, base, tmp bic \irqnr, \irqstat, #0x1c00 mov \tmp, #0 - cmp \irqnr, #32 + cmp \irqnr, #31 itt eq moveq \tmp, #1 streq \irqstat, [\base, #GIC_CPU_EOI] -- 2.34.1