aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/irq.h2
-rw-r--r--arch/blackfin/mach-common/ints-priority.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/irq.h b/arch/blackfin/include/asm/irq.h
index 291a9223adc..9377816fa18 100644
--- a/arch/blackfin/include/asm/irq.h
+++ b/arch/blackfin/include/asm/irq.h
@@ -26,6 +26,4 @@ static __inline__ int irq_canonicalize(int irq)
return irq;
}
-#define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1))
-
#endif /* _BFIN_IRQ_H_ */
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index eb8dfcfc354..2efddcecc42 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -42,6 +42,8 @@
#include <asm/gpio.h>
#include <asm/irq_handler.h>
+#define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1))
+
#ifdef BF537_FAMILY
# define BF537_GENERIC_ERROR_INT_DEMUX
#else