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