1 #ifndef __M68K_HARDIRQ_H
2 #define __M68K_HARDIRQ_H
4 #include <linux/threads.h>
5 #include <linux/cache.h>
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!
21 static inline void ack_bad_irq(unsigned int irq
)
23 pr_crit("unexpected IRQ trap at vector %02x\n", irq
);
26 /* entry.S is sensitive to the offsets of these fields */
28 unsigned int __softirq_pending
;
29 } ____cacheline_aligned irq_cpustat_t
;
31 #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
35 #include <asm-generic/hardirq.h>
37 #endif /* !CONFIG_MMU */