summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-06-27 17:36:43 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-07-03 10:24:12 -0700
commite57173085aab2dae3fb8b777ea9a4a252feb78a6 (patch)
treec86b4adae8ab2fa4595146025cc872fbd1aaf126 /tcg/optimize.c
parentadc028428a6da5ea8d6a688085966a33be4c97c7 (diff)
downloadfocaccia-qemu-e57173085aab2dae3fb8b777ea9a4a252feb78a6.tar.gz
focaccia-qemu-e57173085aab2dae3fb8b777ea9a4a252feb78a6.zip
util/cpuinfo-riscv: Use linux __riscv_hwprobe syscall
With recent linux kernels, there is a syscall to probe for various
ISA extensions.  These bits were phased in over several kernel
releases, so we still require checks for symbol availability.

Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions