summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/vector.h
diff options
context:
space:
mode:
authorXiao Wang <xiao.w.wang@intel.com>2023-10-31 07:45:52 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2023-11-09 19:15:51 +0100
commite72c4333d2f2e7f2200f71a88c0480fd2a769a64 (patch)
tree3fbea8f0e7b28f499221ac66eef8fd7eb3d0d1bc /arch/riscv/include/asm/vector.h
parentMerge patch "drivers: perf: Do not broadcast to other cpus when starting a co... (diff)
downloadlinux-e72c4333d2f2e7f2200f71a88c0480fd2a769a64.tar.xz
linux-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 <ajones@ventanamicro.com> Signed-off-by: Xiao Wang <xiao.w.wang@intel.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20231031064553.2319688-2-xiao.w.wang@intel.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/asm/vector.h')
-rw-r--r--arch/riscv/include/asm/vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/vector.h b/arch/riscv/include/asm/vector.h
index c5ee07b3df07..87aaef656257 100644
--- a/arch/riscv/include/asm/vector.h
+++ b/arch/riscv/include/asm/vector.h
@@ -15,7 +15,7 @@
#include <linux/sched.h>
#include <linux/sched/task_stack.h>
#include <asm/ptrace.h>
-#include <asm/hwcap.h>
+#include <asm/cpufeature.h>
#include <asm/csr.h>
#include <asm/asm.h>