]> git.ipfire.org Git - thirdparty/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:30 +0000 (21:09 +0300)
commit074b769c0bd48d19268ae3714202e320e9a31faa
tree456292ce0384ffedfea4c6de40d61294d3a5c895
parent6eb6bca73f54e7d88f7a705abf727fdcc9e51c9a
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