xref: /openbmc/linux/arch/riscv/include/asm/vdso/data.h (revision 66c98360)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __RISCV_ASM_VDSO_DATA_H
3 #define __RISCV_ASM_VDSO_DATA_H
4 
5 #include <linux/types.h>
6 #include <vdso/datapage.h>
7 #include <asm/hwprobe.h>
8 
9 struct arch_vdso_data {
10 	/* Stash static answers to the hwprobe queries when all CPUs are selected. */
11 	__u64 all_cpu_hwprobe_values[RISCV_HWPROBE_MAX_KEY + 1];
12 
13 	/* Boolean indicating all CPUs have the same static hwprobe values. */
14 	__u8 homogeneous_cpus;
15 };
16 
17 #endif /* __RISCV_ASM_VDSO_DATA_H */
18