Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_SH_HARDIRQ_H
3#define __ASM_SH_HARDIRQ_H
4
5extern void ack_bad_irq(unsigned int irq);
6#define ack_bad_irq ack_bad_irq
7#define ARCH_WANTS_NMI_IRQSTAT
8
9#include <asm-generic/hardirq.h>
10
11#endif /* __ASM_SH_HARDIRQ_H */
1#ifndef __ASM_SH_HARDIRQ_H
2#define __ASM_SH_HARDIRQ_H
3
4#include <linux/threads.h>
5#include <linux/irq.h>
6
7typedef struct {
8 unsigned int __softirq_pending;
9 unsigned int __nmi_count; /* arch dependent */
10} ____cacheline_aligned irq_cpustat_t;
11
12#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
13
14extern void ack_bad_irq(unsigned int irq);
15
16#endif /* __ASM_SH_HARDIRQ_H */