treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / m68k / include / asm / hardirq.h
blob11793165445df45aaa8c26928d03455b8656f76b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __M68K_HARDIRQ_H
3 #define __M68K_HARDIRQ_H
5 #include <linux/threads.h>
6 #include <linux/cache.h>
7 #include <asm/irq.h>
9 #ifdef CONFIG_MMU
11 static inline void ack_bad_irq(unsigned int irq)
13 pr_crit("unexpected IRQ trap at vector %02x\n", irq);
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;
21 #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
23 #else
25 #include <asm-generic/hardirq.h>
27 #endif /* !CONFIG_MMU */
29 #endif