| .. | .. |
|---|
| 2 | 2 | #ifndef __ASM_HARDIRQ_H |
|---|
| 3 | 3 | #define __ASM_HARDIRQ_H |
|---|
| 4 | 4 | |
|---|
| 5 | +#include <linux/cache.h> |
|---|
| 6 | +#include <linux/threads.h> |
|---|
| 5 | 7 | #include <asm/irq.h> |
|---|
| 6 | 8 | |
|---|
| 7 | | -#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 |
|---|
| 8 | | -#define ack_bad_irq ack_bad_irq |
|---|
| 9 | +typedef struct { |
|---|
| 10 | + unsigned int __softirq_pending; |
|---|
| 11 | +} ____cacheline_aligned irq_cpustat_t; |
|---|
| 9 | 12 | |
|---|
| 10 | | -#include <asm-generic/hardirq.h> |
|---|
| 13 | +#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
|---|
| 14 | + |
|---|
| 15 | +#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 |
|---|
| 11 | 16 | |
|---|
| 12 | 17 | #endif /* __ASM_HARDIRQ_H */ |
|---|