summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-mxc/irqs.h
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2008-07-05 10:02:54 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-07-05 10:02:54 +0200
commit259bcaae9a2f28d7e3303b202b64a1fb0a9ab9e4 (patch)
tree8e86bf18877c7e430bd1994489c91701f625e9a6 /include/asm-arm/arch-mxc/irqs.h
parent9e8a30dce1bd38cf7b941c707da504d28a907f5c (diff)
downloadlinux-259bcaae9a2f28d7e3303b202b64a1fb0a9ab9e4.tar.bz2
MXC arch: Simplify architecture's irq sources
Simplify architecture's irq headers and sources, to share these files between MXC3 and MXC2. Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Diffstat (limited to 'include/asm-arm/arch-mxc/irqs.h')
-rw-r--r--include/asm-arm/arch-mxc/irqs.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/asm-arm/arch-mxc/irqs.h b/include/asm-arm/arch-mxc/irqs.h
index b2c5205e1962..f416130718cf 100644
--- a/include/asm-arm/arch-mxc/irqs.h
+++ b/include/asm-arm/arch-mxc/irqs.h
@@ -13,17 +13,4 @@
#include <asm/hardware.h>
-#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE)
-
-#define MXC_IRQ_TO_GPIO(irq) ((irq) - MXC_GPIO_INT_BASE)
-#define MXC_GPIO_TO_IRQ(x) (MXC_GPIO_INT_BASE + x)
-
-/* Number of normal interrupts */
-#define NR_IRQS (MXC_MAX_INT_LINES + \
- MXC_MAX_GPIO_LINES + \
- MXC_MAX_VIRTUAL_INTS)
-
-/* Number of fast interrupts */
-#define NR_FIQS MXC_MAX_INTS
-
#endif /* __ASM_ARCH_MXC_IRQS_H__ */