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 extern void enable_irq(unsigned int);
63 extern void disable_irq(unsigned int);
66 * Some drivers want these entry points
68 #define enable_irq_nosync(x) enable_irq(x)
69 #define disable_irq_nosync(x) disable_irq(x)
73 int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
75 #endif /* _H8300_IRQ_H_ */