Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __ASM_HARDIRQ_H |
| 3 | #define __ASM_HARDIRQ_H |
| 4 | |
| 5 | #include <linux/cache.h> |
| 6 | #include <linux/threads.h> |
| 7 | #include <asm/irq.h> |
| 8 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 9 | typedef struct { |
| 10 | unsigned int __softirq_pending; |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 11 | } ____cacheline_aligned irq_cpustat_t; |
| 12 | |
| 13 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
| 14 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 15 | #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 |
| 16 | |
| 17 | #endif /* __ASM_HARDIRQ_H */ |