1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
8 #include <linux/cache.h>
9 #include <linux/threads.h>
10 #include <linux/irq.h>
12 extern void ack_bad_irq(unsigned int irq
);
13 #define ack_bad_irq ack_bad_irq
25 unsigned int ipi_irqs
[NR_IPI
];
26 unsigned int __softirq_pending
;
27 atomic_t message ____cacheline_aligned_in_smp
;
28 } ____cacheline_aligned irq_cpustat_t
;
30 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t
, irq_stat
);
32 #define __ARCH_IRQ_STAT
34 #endif /* _ASM_HARDIRQ_H */