Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / m68k / include / asm / hardirq.h
blob870e5347155b373a386fd1a8a13c47c43395cd51
1 #ifndef __M68K_HARDIRQ_H
2 #define __M68K_HARDIRQ_H
4 #include <linux/threads.h>
5 #include <linux/cache.h>
6 #include <asm/irq.h>
8 #define HARDIRQ_BITS 8
11 * The hardirq mask has to be large enough to have
12 * space for potentially all IRQ sources in the system
13 * nesting on a single CPU:
15 #if (1 << HARDIRQ_BITS) < NR_IRQS
16 # error HARDIRQ_BITS is too low!
17 #endif
19 #ifdef CONFIG_MMU
21 /* entry.S is sensitive to the offsets of these fields */
22 typedef struct {
23 unsigned int __softirq_pending;
24 } ____cacheline_aligned irq_cpustat_t;
26 #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
28 #else
30 #include <asm-generic/hardirq.h>
32 #endif /* !CONFIG_MMU */
34 #endif