1*46fe55b2SThomas Weißschuh /* SPDX-License-Identifier: GPL-2.0 */ 2*46fe55b2SThomas Weißschuh #ifndef __RISCV_ASM_VDSO_ARCH_DATA_H 3*46fe55b2SThomas Weißschuh #define __RISCV_ASM_VDSO_ARCH_DATA_H 4*46fe55b2SThomas Weißschuh 5*46fe55b2SThomas Weißschuh #include <linux/types.h> 6*46fe55b2SThomas Weißschuh #include <vdso/datapage.h> 7*46fe55b2SThomas Weißschuh #include <asm/hwprobe.h> 8*46fe55b2SThomas Weißschuh 9*46fe55b2SThomas Weißschuh struct vdso_arch_data { 10*46fe55b2SThomas Weißschuh /* Stash static answers to the hwprobe queries when all CPUs are selected. */ 11*46fe55b2SThomas Weißschuh __u64 all_cpu_hwprobe_values[RISCV_HWPROBE_MAX_KEY + 1]; 12*46fe55b2SThomas Weißschuh 13*46fe55b2SThomas Weißschuh /* Boolean indicating all CPUs have the same static hwprobe values. */ 14*46fe55b2SThomas Weißschuh __u8 homogeneous_cpus; 15*46fe55b2SThomas Weißschuh }; 16*46fe55b2SThomas Weißschuh 17*46fe55b2SThomas Weißschuh #endif /* __RISCV_ASM_VDSO_ARCH_DATA_H */ 18