Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *  S390 version
0004  *    Copyright IBM Corp. 1999, 2000
0005  *    Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
0006  *               Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
0007  *
0008  *  Derived from "include/asm-i386/hardirq.h"
0009  */
0010 
0011 #ifndef __ASM_HARDIRQ_H
0012 #define __ASM_HARDIRQ_H
0013 
0014 #include <asm/lowcore.h>
0015 
0016 #define local_softirq_pending() (S390_lowcore.softirq_pending)
0017 #define set_softirq_pending(x) (S390_lowcore.softirq_pending = (x))
0018 #define or_softirq_pending(x)  (S390_lowcore.softirq_pending |= (x))
0019 
0020 #define __ARCH_IRQ_STAT
0021 #define __ARCH_IRQ_EXIT_IRQS_DISABLED
0022 
0023 static inline void ack_bad_irq(unsigned int irq)
0024 {
0025     printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
0026 }
0027 
0028 #endif /* __ASM_HARDIRQ_H */