• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __M68K_HARDIRQ_H
3 #define __M68K_HARDIRQ_H
4 
5 #include <linux/threads.h>
6 #include <linux/cache.h>
7 #include <asm/irq.h>
8 
9 #ifdef CONFIG_MMU
10 
ack_bad_irq(unsigned int irq)11 static inline void ack_bad_irq(unsigned int irq)
12 {
13 	pr_crit("unexpected IRQ trap at vector %02x\n", irq);
14 }
15 
16 /* entry.S is sensitive to the offsets of these fields */
17 typedef struct {
18 	unsigned int __softirq_pending;
19 } ____cacheline_aligned irq_cpustat_t;
20 
21 #include <linux/irq_cpustat.h>	/* Standard mappings for irq_cpustat_t above */
22 
23 #else
24 
25 #include <asm-generic/hardirq.h>
26 
27 #endif /* !CONFIG_MMU */
28 
29 #endif
30