]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 291a9223adca9e143bb84b49a87d11e048c3fcae..9377816fa18ab7c9e10605b0ac0c3989716229c4 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 eb8dfcfc3544b5efbd5ad53eb50efc45eb51ffe2..2efddcecc42b344767f2f10e60d48ae2f6b2a578 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