hardirq.h 631 B

123456789101112131415161718192021222324252627
  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. #ifndef __ASM_HARDIRQ_H
  10. #define __ASM_HARDIRQ_H
  11. #include <asm/lowcore.h>
  12. #define local_softirq_pending() (S390_lowcore.softirq_pending)
  13. #define __ARCH_IRQ_STAT
  14. #define __ARCH_HAS_DO_SOFTIRQ
  15. #define __ARCH_IRQ_EXIT_IRQS_DISABLED
  16. static inline void ack_bad_irq(unsigned int irq)
  17. {
  18. printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq);
  19. }
  20. #endif /* __ASM_HARDIRQ_H */