]> git.proxmox.com Git - mirror_qemu.git/commit
util: fix build with musl libc on ppc64le
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 19 Dec 2023 10:51:29 +0000 (11:51 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 11 Jan 2024 18:09:28 +0000 (21:09 +0300)
commit9ee4603a86624a5c9507a79086110daf830159a4
tree468a53911510f6fd3e27c160e525337979ab8e50
parentb88191085977d0659fab6ebdead8488e5c34c8b6
util: fix build with musl libc on ppc64le

Use PPC_FEATURE2_ISEL and PPC_FEATURE2_VEC_CRYPTO from linux headers
instead of the GNU specific PPC_FEATURE2_HAS_ISEL and
PPC_FEATURE2_HAS_VEC_CRYPTO. This fixes build with musl libc.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1861
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Fixes: 63922f467a ("tcg/ppc: Replace HAVE_ISEL macro with a variable")
Fixes: 68f340d4cd ("tcg/ppc: Enable Altivec detection")
Message-Id: <20231219105236.7059-1-ncopa@alpinelinux.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 1d513e06d96697f44de4a1b85c6ff627c443e306)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
util/cpuinfo-ppc.c