Home
last modified time | relevance | path

Searched refs:cpu_has_feature (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/config/
H A Dkernel-cpu_has_feature.m42 dnl # cpu_has_feature() may referencing GPL-only cpu_feature_keys on powerpc
6 dnl # Checking if cpu_has_feature is exported GPL-only
9 ZFS_LINUX_TEST_SRC([cpu_has_feature], [
12 #include <asm/cpu_has_feature.h>
17 return cpu_has_feature(CPU_FTR_ALTIVEC) ? 0 : 1;
21 AC_MSG_CHECKING([whether cpu_has_feature() is GPL-only])
27 [cpu_has_feature() is GPL-only])
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dsimd_powerpc.h121 #define cpu_has_feature(feature) early_cpu_has_feature(feature) macro
130 return (cpu_has_feature(CPU_FTR_ALTIVEC)); in zfs_altivec_available()
139 return (cpu_has_feature(CPU_FTR_VSX)); in zfs_vsx_available()
148 return (cpu_has_feature(CPU_FTR_ARCH_207S)); in zfs_isa207_available()
H A Ddcache_compat.h51 if (!cpu_has_feature(CPU_FTR_COHERENT_ICACHE) && \