Blackfin arch: move SIC_SYSIRQ() to the one file that actually uses it
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/irq.h
arch/blackfin/mach-common/ints-priority.c

index 291a922..9377816 100644 (file)
@@ -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_ */
index eb8dfcf..2efddce 100644 (file)
@@ -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