]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
tools/virtio: fix build
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Aug 2021 16:26:05 +0000 (12:26 -0400)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 24 Sep 2021 09:58:38 +0000 (11:58 +0200)
commitfc806a3d79518ef1980e3f0f3592a8adb0f07ac7
treef41e72fd447b1f7b570e29e15fe6e09e0a9736ec
parent3284d8f4498afd878b61028f41662b46eb38fce0
tools/virtio: fix build

BugLink: https://bugs.launchpad.net/bugs/1944610
[ Upstream commit a24ce06c70fe7df795a846ad713ccaa9b56a7666 ]

We use a spinlock now so add a stub.
Ignore bogus uninitialized variable warnings.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
tools/virtio/Makefile
tools/virtio/linux/spinlock.h [new file with mode: 0644]
tools/virtio/linux/virtio.h