diff options
| author | Xiao Wang <[email protected]> | 2023-10-31 06:45:52 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-11-09 18:15:51 +0000 |
| commit | e72c4333d2f2e7f2200f71a88c0480fd2a769a64 (patch) | |
| tree | 3fbea8f0e7b28f499221ac66eef8fd7eb3d0d1bc /arch/riscv/kvm/vcpu_vector.c | |
| parent | Merge patch "drivers: perf: Do not broadcast to other cpus when starting a co... (diff) | |
| download | kernel-e72c4333d2f2e7f2200f71a88c0480fd2a769a64.tar.gz kernel-e72c4333d2f2e7f2200f71a88c0480fd2a769a64.zip | |
riscv: Rearrange hwcap.h and cpufeature.h
Now hwcap.h and cpufeature.h are mutually including each other, and most of
the variable/API declarations in hwcap.h are implemented in cpufeature.c,
so, it's better to move them into cpufeature.h and leave only macros for
ISA extension logical IDs in hwcap.h.
BTW, the riscv_isa_extension_mask macro is not used now, so this patch
removes it.
Suggested-by: Andrew Jones <[email protected]>
Signed-off-by: Xiao Wang <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'arch/riscv/kvm/vcpu_vector.c')
| -rw-r--r-- | arch/riscv/kvm/vcpu_vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/kvm/vcpu_vector.c b/arch/riscv/kvm/vcpu_vector.c index b430cbb69521..b339a2682f25 100644 --- a/arch/riscv/kvm/vcpu_vector.c +++ b/arch/riscv/kvm/vcpu_vector.c @@ -11,7 +11,7 @@ #include <linux/err.h> #include <linux/kvm_host.h> #include <linux/uaccess.h> -#include <asm/hwcap.h> +#include <asm/cpufeature.h> #include <asm/kvm_vcpu_vector.h> #include <asm/vector.h> |
