diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-04-11 11:06:38 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-06-26 15:07:32 +0200 |
commit | e5b088c1dc4de18aad500253c3dd26287f2bd9a0 (patch) | |
tree | db7fe6bf000fc799d5b30114cf415b73ca09f242 /arch/riscv/kvm/aia_imsic.c | |
parent | KVM: selftests: Fix RISC-V compilation (diff) | |
download | linux-e5b088c1dc4de18aad500253c3dd26287f2bd9a0.tar.xz linux-e5b088c1dc4de18aad500253c3dd26287f2bd9a0.zip |
RISC-V: KVM: Share APLIC and IMSIC defines with irqchip drivers
We have common APLIC and IMSIC headers available under
include/linux/irqchip/ directory which are used by APLIC
and IMSIC irqchip drivers. Let us replace the use of
kvm_aia_*.h headers with include/linux/irqchip/riscv-*.h
headers.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20240411090639.237119-2-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch/riscv/kvm/aia_imsic.c')
-rw-r--r-- | arch/riscv/kvm/aia_imsic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kvm/aia_imsic.c b/arch/riscv/kvm/aia_imsic.c index e808723a85f1..0a1e859323b4 100644 --- a/arch/riscv/kvm/aia_imsic.c +++ b/arch/riscv/kvm/aia_imsic.c @@ -9,13 +9,13 @@ #include <linux/atomic.h> #include <linux/bitmap.h> +#include <linux/irqchip/riscv-imsic.h> #include <linux/kvm_host.h> #include <linux/math.h> #include <linux/spinlock.h> #include <linux/swab.h> #include <kvm/iodev.h> #include <asm/csr.h> -#include <asm/kvm_aia_imsic.h> #define IMSIC_MAX_EIX (IMSIC_MAX_ID / BITS_PER_TYPE(u64)) |