forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/sh/include/asm/hardirq.h
....@@ -2,16 +2,10 @@
22 #ifndef __ASM_SH_HARDIRQ_H
33 #define __ASM_SH_HARDIRQ_H
44
5
-#include <linux/threads.h>
6
-#include <linux/irq.h>
7
-
8
-typedef struct {
9
- unsigned int __softirq_pending;
10
- unsigned int __nmi_count; /* arch dependent */
11
-} ____cacheline_aligned irq_cpustat_t;
12
-
13
-#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
14
-
155 extern 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>
1610
1711 #endif /* __ASM_SH_HARDIRQ_H */