1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_RISCV_VENDOR_EXTENSIONS_THEAD_HWPROBE_H 3 #define _ASM_RISCV_VENDOR_EXTENSIONS_THEAD_HWPROBE_H 4 5 #include <linux/cpumask.h> 6 7 #include <uapi/asm/hwprobe.h> 8 9 #ifdef CONFIG_RISCV_ISA_VENDOR_EXT_THEAD 10 void hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe *pair, const struct cpumask *cpus); 11 #else hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe * pair,const struct cpumask * cpus)12static inline void hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe *pair, 13 const struct cpumask *cpus) 14 { 15 pair->value = 0; 16 } 17 #endif 18 19 #endif 20