OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / sh / include / asm / hardirq.h
blob715ee237fc77bc045f556965321c601a9d5f5c54
1 #ifndef __ASM_SH_HARDIRQ_H
2 #define __ASM_SH_HARDIRQ_H
4 #include <linux/threads.h>
5 #include <linux/irq.h>
7 /* entry.S is sensitive to the offsets of these fields */
8 typedef struct {
9 unsigned int __softirq_pending;
10 } ____cacheline_aligned irq_cpustat_t;
12 #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
14 extern void ack_bad_irq(unsigned int irq);
16 #endif /* __ASM_SH_HARDIRQ_H */