1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef SELFTEST_RISCV_HWPROBE_H
3 #define SELFTEST_RISCV_HWPROBE_H
5 #include <asm/hwprobe.h>
8 * Rather than relying on having a new enough libc to define this, just do it
9 * ourselves. This way we don't need to be coupled to a new-enough libc to
12 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
13 size_t cpusetsize, unsigned long *cpus, unsigned int flags);