diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
|---|---|---|
| committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:55:21 -0400 |
| commit | bbb20089a3275a19e475dbc21320c3742e3ca423 (patch) | |
| tree | 216fdc1cbef450ca688135c5b8969169482d9a48 /include/asm-generic/hardirq.h | |
| parent | 3e48e656903e9fd8bc805c6a2c4264d7808d315b (diff) | |
| parent | 657a77fa7284d8ae28dfa48f1dc5d919bf5b2843 (diff) | |
Merge branch 'dmaengine' into async-tx-next
Conflicts:
crypto/async_tx/async_xor.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/pci.c
drivers/md/raid5.c
Diffstat (limited to 'include/asm-generic/hardirq.h')
| -rw-r--r-- | include/asm-generic/hardirq.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/asm-generic/hardirq.h b/include/asm-generic/hardirq.h new file mode 100644 index 000000000000..23bb4dad4962 --- /dev/null +++ b/include/asm-generic/hardirq.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #ifndef __ASM_GENERIC_HARDIRQ_H | ||
| 2 | #define __ASM_GENERIC_HARDIRQ_H | ||
| 3 | |||
| 4 | #include <linux/cache.h> | ||
| 5 | #include <linux/threads.h> | ||
| 6 | #include <linux/irq.h> | ||
| 7 | |||
| 8 | typedef struct { | ||
| 9 | unsigned long __softirq_pending; | ||
| 10 | } ____cacheline_aligned irq_cpustat_t; | ||
| 11 | |||
| 12 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | ||
| 13 | |||
| 14 | #ifndef ack_bad_irq | ||
| 15 | static inline void ack_bad_irq(unsigned int irq) | ||
| 16 | { | ||
| 17 | printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); | ||
| 18 | } | ||
| 19 | #endif | ||
| 20 | |||
| 21 | #endif /* __ASM_GENERIC_HARDIRQ_H */ | ||
