Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SH_HARDIRQ_H |
| 2 | #define __ASM_SH_HARDIRQ_H |
| 3 | |
Paul Mundt | 731ba33 | 2009-10-14 16:42:28 +0900 | [diff] [blame] | 4 | #include <linux/threads.h> |
| 5 | #include <linux/irq.h> |
Christoph Hellwig | c1155e3 | 2009-08-04 16:55:29 +0200 | [diff] [blame] | 6 | |
Paul Mundt | 731ba33 | 2009-10-14 16:42:28 +0900 | [diff] [blame] | 7 | typedef struct { |
| 8 | unsigned int __softirq_pending; |
| 9 | unsigned int __nmi_count; /* arch dependent */ |
| 10 | } ____cacheline_aligned irq_cpustat_t; |
| 11 | |
| 12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
| 13 | |
| 14 | extern void ack_bad_irq(unsigned int irq); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | #endif /* __ASM_SH_HARDIRQ_H */ |