2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* S390 version
|
2012-07-20 17:15:04 +08:00
|
|
|
* Copyright IBM Corp. 1999, 2000
|
2005-04-17 06:20:36 +08:00
|
|
|
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
|
|
|
|
* Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
|
|
|
|
*
|
|
|
|
* Derived from "include/asm-i386/hardirq.h"
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_HARDIRQ_H
|
|
|
|
#define __ASM_HARDIRQ_H
|
|
|
|
|
|
|
|
#include <asm/lowcore.h>
|
|
|
|
|
|
|
|
#define local_softirq_pending() (S390_lowcore.softirq_pending)
|
|
|
|
|
|
|
|
#define __ARCH_IRQ_STAT
|
|
|
|
#define __ARCH_HAS_DO_SOFTIRQ
|
2012-03-11 23:59:30 +08:00
|
|
|
#define __ARCH_IRQ_EXIT_IRQS_DISABLED
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2013-06-27 15:01:09 +08:00
|
|
|
static inline void ack_bad_irq(unsigned int irq)
|
|
|
|
{
|
|
|
|
printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
|
|
|
|
}
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif /* __ASM_HARDIRQ_H */
|