vfs: Make __vfs_write() static
[linux/fpc-iii.git] / arch / h8300 / include / asm / irq.h
blob5fc5b436dde9827fa8075cc5f61ffee8c87f48a5
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _H8300_IRQ_H_
3 #define _H8300_IRQ_H_
5 #include <linux/irqchip.h>
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
19 static inline int irq_canonicalize(int irq)
21 return irq;
24 void h8300_init_ipr(void);
25 extern struct irq_chip h8300h_irq_chip;
26 extern struct irq_chip h8s_irq_chip;
27 #endif /* _H8300_IRQ_H_ */