1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2f15cbe6fSPaul Mundt #ifndef __ASM_SH_HARDIRQ_H 3f15cbe6fSPaul Mundt #define __ASM_SH_HARDIRQ_H 4f15cbe6fSPaul Mundt 5731ba330SPaul Mundt #include <linux/threads.h> 6731ba330SPaul Mundt #include <linux/irq.h> 7c1155e34SChristoph Hellwig 8731ba330SPaul Mundt typedef struct { 9731ba330SPaul Mundt unsigned int __softirq_pending; 10731ba330SPaul Mundt unsigned int __nmi_count; /* arch dependent */ 11731ba330SPaul Mundt } ____cacheline_aligned irq_cpustat_t; 12731ba330SPaul Mundt 13731ba330SPaul Mundt #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ 14731ba330SPaul Mundt 15731ba330SPaul Mundt extern void ack_bad_irq(unsigned int irq); 16f15cbe6fSPaul Mundt 17f15cbe6fSPaul Mundt #endif /* __ASM_SH_HARDIRQ_H */ 18