xref: /openbmc/linux/arch/sh/include/asm/hardirq.h (revision add48ba4)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_HARDIRQ_H
3 #define __ASM_SH_HARDIRQ_H
4 
5 #include <linux/threads.h>
6 #include <linux/irq.h>
7 
8 typedef struct {
9 	unsigned int __softirq_pending;
10 	unsigned int __nmi_count;		/* arch dependent */
11 } ____cacheline_aligned irq_cpustat_t;
12 
13 #include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
14 
15 extern void ack_bad_irq(unsigned int irq);
16 
17 #endif /* __ASM_SH_HARDIRQ_H */
18