Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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