This source file includes following definitions.
- irq_canonicalize
1
2 #ifndef _H8300_IRQ_H_
3 #define _H8300_IRQ_H_
4
5 #include <linux/irqchip.h>
6
7 #if defined(CONFIG_CPU_H8300H)
8 #define NR_IRQS 64
9 #define IRQ_CHIP h8300h_irq_chip
10 #define EXT_IRQ0 12
11 #define EXT_IRQS 6
12 #elif defined(CONFIG_CPU_H8S)
13 #define NR_IRQS 128
14 #define IRQ_CHIP h8s_irq_chip
15 #define EXT_IRQ0 16
16 #define EXT_IRQS 16
17 #endif
18
19 static inline int irq_canonicalize(int irq)
20 {
21 return irq;
22 }
23
24 void h8300_init_ipr(void);
25 extern struct irq_chip h8300h_irq_chip;
26 extern struct irq_chip h8s_irq_chip;
27 #endif