xref: /linux/arch/riscv/include/asm/vdso/arch_data.h (revision 46fe55b204bfb007e0f0a5409dcda063ad98b089)
1aa5af0aaSEvan Green /* 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
4aa5af0aaSEvan Green 
5aa5af0aaSEvan Green #include <linux/types.h>
6aa5af0aaSEvan Green #include <vdso/datapage.h>
7aa5af0aaSEvan Green #include <asm/hwprobe.h>
8aa5af0aaSEvan Green 
9*46fe55b2SThomas Weißschuh struct vdso_arch_data {
10aa5af0aaSEvan Green 	/* Stash static answers to the hwprobe queries when all CPUs are selected. */
11aa5af0aaSEvan Green 	__u64 all_cpu_hwprobe_values[RISCV_HWPROBE_MAX_KEY + 1];
12aa5af0aaSEvan Green 
13aa5af0aaSEvan Green 	/* Boolean indicating all CPUs have the same static hwprobe values. */
14aa5af0aaSEvan Green 	__u8 homogeneous_cpus;
15aa5af0aaSEvan Green };
16aa5af0aaSEvan Green 
17*46fe55b2SThomas Weißschuh #endif /* __RISCV_ASM_VDSO_ARCH_DATA_H */
18