xref: /openbmc/linux/arch/s390/include/asm/hardirq.h (revision 4f3db074)
1 /*
2  *  S390 version
3  *    Copyright IBM Corp. 1999, 2000
4  *    Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
5  *               Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
6  *
7  *  Derived from "include/asm-i386/hardirq.h"
8  */
9 
10 #ifndef __ASM_HARDIRQ_H
11 #define __ASM_HARDIRQ_H
12 
13 #include <asm/lowcore.h>
14 
15 #define local_softirq_pending() (S390_lowcore.softirq_pending)
16 
17 #define __ARCH_IRQ_STAT
18 #define __ARCH_HAS_DO_SOFTIRQ
19 #define __ARCH_IRQ_EXIT_IRQS_DISABLED
20 
21 static inline void ack_bad_irq(unsigned int irq)
22 {
23 	printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
24 }
25 
26 #endif /* __ASM_HARDIRQ_H */
27