4 #include <asm/ptrace.h>
6 #if defined(__H8300H__)
18 #include <asm/regs306x.h>
19 #define h8300_clear_isr(irq) \
21 if (irq >= EXT_IRQ0 && irq <= EXT_IRQ5) \
22 *(volatile unsigned char *)ISR &= ~(1 << (irq - EXT_IRQ0)); \
25 #define IER_REGS *(volatile unsigned char *)IER
27 #if defined(CONFIG_CPU_H8S)
47 #include <asm/regs267x.h>
48 #define h8300_clear_isr(irq) \
50 if (irq >= EXT_IRQ0 && irq <= EXT_IRQ15) \
51 *(volatile unsigned short *)ISR &= ~(1 << (irq - EXT_IRQ0)); \
54 #define IER_REGS *(volatile unsigned short *)IER
57 static __inline__
int irq_canonicalize(int irq
)
62 #endif /* _H8300_IRQ_H_ */