1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright IBM Corp. 1999, 2000
8 * Derived from "include/asm-i386/hardirq.h"
11 #ifndef __ASM_HARDIRQ_H
12 #define __ASM_HARDIRQ_H
14 #include <asm/lowcore.h>
16 #define local_softirq_pending() (S390_lowcore.softirq_pending)
17 #define set_softirq_pending(x) (S390_lowcore.softirq_pending = (x))
18 #define or_softirq_pending(x) (S390_lowcore.softirq_pending |= (x))
20 #define __ARCH_IRQ_STAT
21 #define __ARCH_IRQ_EXIT_IRQS_DISABLED
23 static inline void ack_bad_irq(unsigned int irq)
25 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
28 #endif /* __ASM_HARDIRQ_H */