]> Git Repo - linux.git/blob - arch/loongarch/include/asm/hardirq.h
crypto: testmgr - allow ecdsa-nist-p256 and -p384 in FIPS mode
[linux.git] / arch / loongarch / include / asm / hardirq.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4  */
5 #ifndef _ASM_HARDIRQ_H
6 #define _ASM_HARDIRQ_H
7
8 #include <linux/cache.h>
9 #include <linux/threads.h>
10 #include <linux/irq.h>
11
12 extern void ack_bad_irq(unsigned int irq);
13 #define ack_bad_irq ack_bad_irq
14
15 #define NR_IPI  2
16
17 typedef struct {
18         unsigned int ipi_irqs[NR_IPI];
19         unsigned int __softirq_pending;
20 } ____cacheline_aligned irq_cpustat_t;
21
22 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
23
24 #define __ARCH_IRQ_STAT
25
26 #endif /* _ASM_HARDIRQ_H */
This page took 0.033192 seconds and 4 git commands to generate.