aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-11-18 04:48:22 -0500
committerBryan Wu <cooloney@kernel.org>2008-11-18 04:48:22 -0500
commit7beb7439acea38ecd0abbbdc72f85732dd59658c (patch)
treedcb7b687a985d7bb994a14c7268f8a04de887484 /arch
parenta638735b3d7fd844fd7f0586ad3ba4a3fe9c23a8 (diff)
Blackfin arch: move SIC_SYSIRQ() to the one file that actually uses it
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-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 291a9223adca..9377816fa18a 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)
26 return irq; 26 return irq;
27} 27}
28 28
29#define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1))
30
31#endif /* _BFIN_IRQ_H_ */ 29#endif /* _BFIN_IRQ_H_ */
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index eb8dfcfc3544..2efddcecc42b 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -42,6 +42,8 @@
42#include <asm/gpio.h> 42#include <asm/gpio.h>
43#include <asm/irq_handler.h> 43#include <asm/irq_handler.h>
44 44
45#define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1))
46
45#ifdef BF537_FAMILY 47#ifdef BF537_FAMILY
46# define BF537_GENERIC_ERROR_INT_DEMUX 48# define BF537_GENERIC_ERROR_INT_DEMUX
47#else 49#else