xref: /openbmc/linux/arch/sh/include/asm/hardirq.h (revision 8fa5723aa7e053d498336b48448b292fc2e0458b)
1 #ifndef __ASM_SH_HARDIRQ_H
2 #define __ASM_SH_HARDIRQ_H
3 
4 #include <linux/threads.h>
5 #include <linux/irq.h>
6 
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;
11 
12 #include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
13 
14 extern void ack_bad_irq(unsigned int irq);
15 
16 #endif /* __ASM_SH_HARDIRQ_H */
17