Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | #ifndef __ASM_AVR32_HARDIRQ_H |
| 2 | #define __ASM_AVR32_HARDIRQ_H |
| 3 | |
| 4 | #include <linux/threads.h> |
| 5 | #include <asm/irq.h> |
| 6 | |
| 7 | #ifndef __ASSEMBLY__ |
| 8 | |
| 9 | #include <linux/cache.h> |
| 10 | |
| 11 | /* entry.S is sensitive to the offsets of these fields */ |
| 12 | typedef struct { |
| 13 | unsigned int __softirq_pending; |
| 14 | } ____cacheline_aligned irq_cpustat_t; |
| 15 | |
| 16 | void ack_bad_irq(unsigned int irq); |
| 17 | |
| 18 | /* Standard mappings for irq_cpustat_t above */ |
| 19 | #include <linux/irq_cpustat.h> |
| 20 | |
| 21 | #endif /* __ASSEMBLY__ */ |
| 22 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 23 | #endif /* __ASM_AVR32_HARDIRQ_H */ |