aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2012-12-13 22:19:24 -0500
committerBob Liu <lliubbo@gmail.com>2012-12-13 22:20:22 -0500
commit86794b43569c9b8936dff2e8eed503393379af6e (patch)
treea1e22a88f584c300792167de4b59bae7ec37d9a3 /arch/blackfin/include
parent1439d030b9032261f1111a2dd16b9a8ca11112ef (diff)
blackfin: SEC: clean up SEC interrupt initialization
Append the SEC IRQ after the IVG6, which is consistent to BF5xx SIC. Exclude SIC irqchip fucntions from SEC code. Call handle_fasteoi_irq in SEC error and fault handler. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r--arch/blackfin/include/mach-common/irq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/include/mach-common/irq.h b/arch/blackfin/include/mach-common/irq.h
index cab14e911dc2..af9fc8171ebc 100644
--- a/arch/blackfin/include/mach-common/irq.h
+++ b/arch/blackfin/include/mach-common/irq.h
@@ -40,8 +40,6 @@
40#define IRQ_HWERR 5 /* Hardware Error */ 40#define IRQ_HWERR 5 /* Hardware Error */
41#define IRQ_CORETMR 6 /* Core timer */ 41#define IRQ_CORETMR 6 /* Core timer */
42 42
43#define BFIN_IRQ(x) ((x) + 7)
44
45#define IVG7 7 43#define IVG7 7
46#define IVG8 8 44#define IVG8 8
47#define IVG9 9 45#define IVG9 9
@@ -52,6 +50,9 @@
52#define IVG14 14 50#define IVG14 14
53#define IVG15 15 51#define IVG15 15
54 52
53#define BFIN_IRQ(x) ((x) + IVG7)
54#define BFIN_SYSIRQ(x) ((x) - IVG7)
55
55#define NR_IRQS (NR_MACH_IRQS + NR_SPARE_IRQS) 56#define NR_IRQS (NR_MACH_IRQS + NR_SPARE_IRQS)
56 57
57#endif 58#endif