]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/virtio: fix build
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Aug 2021 16:26:05 +0000 (12:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Sep 2021 08:23:01 +0000 (10:23 +0200)
commit0eeee5f085e69d8fea1c20b36ed7fe66ad74236a
tree27a80f36712d8202263dc6d97161f578e6c4c344
parent2aef43ab6de1fb8f31cf0e84fcfa65b4e161554a
tools/virtio: fix build

[ 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>
tools/virtio/Makefile
tools/virtio/linux/spinlock.h [new file with mode: 0644]
tools/virtio/linux/virtio.h