diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-04-11 14:36:38 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-06-26 18:37:32 +0530 |
commit | e5b088c1dc4de18aad500253c3dd26287f2bd9a0 (patch) | |
tree | db7fe6bf000fc799d5b30114cf415b73ca09f242 /arch/riscv/kvm/aia_aplic.c | |
parent | 0fc670d07d5de36a54f061f457743c9cde1d8b46 (diff) |
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_aplic.c')
-rw-r--r-- | arch/riscv/kvm/aia_aplic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kvm/aia_aplic.c b/arch/riscv/kvm/aia_aplic.c index b467ba5ed910..da6ff1bade0d 100644 --- a/arch/riscv/kvm/aia_aplic.c +++ b/arch/riscv/kvm/aia_aplic.c @@ -7,12 +7,12 @@ * Anup Patel <apatel@ventanamicro.com> */ +#include <linux/irqchip/riscv-aplic.h> #include <linux/kvm_host.h> #include <linux/math.h> #include <linux/spinlock.h> #include <linux/swab.h> #include <kvm/iodev.h> -#include <asm/kvm_aia_aplic.h> struct aplic_irq { raw_spinlock_t lock; |