Skip to content

Commit

Permalink
Blackfin arch: move SIC_SYSIRQ() to the one file that actually uses it
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Nov 18, 2008
1 parent a638735 commit 7beb743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/blackfin/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
2 changes: 2 additions & 0 deletions arch/blackfin/mach-common/ints-priority.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7beb743

Please sign in to comment.