linux-stable/tools/virtio
Peng Fan e975c52403 tools/virtio: fix build break for aarch64
[ Upstream commit 77b894f220 ]

"-mfunction-return=thunk -mindirect-branch-register" are only valid
for x86. So introduce compiler operation check to avoid such issues

Fixes: 0d0ed40061 ("tools/virtio: enable to build with retpoline")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Message-Id: <20230323040024.3809108-1-peng.fan@oss.nxp.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:36:41 +02:00
..
asm tools/virtio: add barrier for aarch64 2020-12-18 16:14:30 -05:00
crypto tools/virtio: more stubs 2019-10-11 09:27:27 -04:00
generated virtio/test: fix up after IOTLB changes 2020-04-16 18:31:08 -04:00
linux tools/virtio: fix build caused by virtio_ring changes 2023-04-21 03:02:35 -04:00
ringtest tools/virtio: Add .gitignore for ringtest 2023-06-08 15:43:08 -04:00
uapi/linux License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vhost_test treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
virtio-trace tools/virtio: use canonical ftrace path 2023-06-09 12:08:08 -04:00
xen tools/virtio: xen stub 2019-10-13 09:38:27 -04:00
.gitignore tools/virtio: Ignore virtio-trace/trace-agent 2023-03-13 02:29:12 -04:00
Makefile tools/virtio: fix build break for aarch64 2023-07-19 16:36:41 +02:00
virtio_test.c tools/virtio: virtio_test -h,--help should return directly 2023-04-21 03:02:30 -04:00
vringh_test.c tools/virtio: initialize spinlocks in vring_test.c 2022-12-28 05:09:47 -05:00