xref: /openbmc/linux/arch/mips/include/asm/hardirq.h (revision 384740dc)
1384740dcSRalf Baechle /*
2384740dcSRalf Baechle  * This file is subject to the terms and conditions of the GNU General Public
3384740dcSRalf Baechle  * License.  See the file "COPYING" in the main directory of this archive
4384740dcSRalf Baechle  * for more details.
5384740dcSRalf Baechle  *
6384740dcSRalf Baechle  * Copyright (C) 1997, 98, 99, 2000, 01, 05 Ralf Baechle (ralf@linux-mips.org)
7384740dcSRalf Baechle  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
8384740dcSRalf Baechle  * Copyright (C) 2001 MIPS Technologies, Inc.
9384740dcSRalf Baechle  */
10384740dcSRalf Baechle #ifndef _ASM_HARDIRQ_H
11384740dcSRalf Baechle #define _ASM_HARDIRQ_H
12384740dcSRalf Baechle 
13384740dcSRalf Baechle #include <linux/threads.h>
14384740dcSRalf Baechle #include <linux/irq.h>
15384740dcSRalf Baechle 
16384740dcSRalf Baechle typedef struct {
17384740dcSRalf Baechle 	unsigned int __softirq_pending;
18384740dcSRalf Baechle } ____cacheline_aligned irq_cpustat_t;
19384740dcSRalf Baechle 
20384740dcSRalf Baechle #include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
21384740dcSRalf Baechle 
22384740dcSRalf Baechle extern void ack_bad_irq(unsigned int irq);
23384740dcSRalf Baechle 
24384740dcSRalf Baechle #endif /* _ASM_HARDIRQ_H */
25