x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / m68k / include / asm / hardirq.h
blob6c618529d9b96e3815568a486a146c31b4b6a005
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 #ifdef CONFIG_MMU
10 static inline void ack_bad_irq(unsigned int irq)
12 pr_crit("unexpected IRQ trap at vector %02x\n", irq);
15 /* entry.S is sensitive to the offsets of these fields */
16 typedef struct {
17 unsigned int __softirq_pending;
18 } ____cacheline_aligned irq_cpustat_t;
20 #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
22 #else
24 #include <asm-generic/hardirq.h>
26 #endif /* !CONFIG_MMU */
28 #endif