Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * S390 version |
Heiko Carstens | a53c8fa | 2012-07-20 11:15:04 +0200 | [diff] [blame] | 3 | * Copyright IBM Corp. 1999, 2000 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 10 | #ifndef __ASM_HARDIRQ_H |
| 11 | #define __ASM_HARDIRQ_H |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #include <asm/lowcore.h> |
| 14 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #define local_softirq_pending() (S390_lowcore.softirq_pending) |
| 16 | |
| 17 | #define __ARCH_IRQ_STAT |
| 18 | #define __ARCH_HAS_DO_SOFTIRQ |
Heiko Carstens | 2215011 | 2012-03-11 11:59:30 -0400 | [diff] [blame] | 19 | #define __ARCH_IRQ_EXIT_IRQS_DISABLED |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | #define HARDIRQ_BITS 8 |
| 22 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | #endif /* __ASM_HARDIRQ_H */ |