소스 검색

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>
Mike Frysinger 16 년 전
부모
커밋
7beb7439ac
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      arch/blackfin/include/asm/irq.h
  2. 2 0
      arch/blackfin/mach-common/ints-priority.c

+ 0 - 2
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_ */

+ 2 - 0
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