beda3d62947a3676527e01df176c27add9b42f71
[15.05/openwrt.git] / target / linux / ramips / patches-3.10 / 0501-MIPS-increase-GIC_INTR_MAX.patch
1 From e5327a1c6969316370af5cae7cfe6b8163178575 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Mon, 2 Dec 2013 16:07:23 +0100
4 Subject: [PATCH 500/507] MIPS: increase GIC_INTR_MAX
5
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 ---
8  arch/mips/include/asm/gic.h |    2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h
12 index b2e3e93..2902d93 100644
13 --- a/arch/mips/include/asm/gic.h
14 +++ b/arch/mips/include/asm/gic.h
15 @@ -19,7 +19,7 @@
16  #define GIC_TRIG_EDGE                  1
17  #define GIC_TRIG_LEVEL                 0
18  
19 -#define GIC_NUM_INTRS                  (24 + NR_CPUS * 2)
20 +#define GIC_NUM_INTRS                  (56 + NR_CPUS * 2)
21  
22  #define MSK(n) ((1 << (n)) - 1)
23  #define REG32(addr)            (*(volatile unsigned int *) (addr))
24 -- 
25 1.7.10.4
26