data.h 481 B

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