]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/virtio: stub might_sleep and synchronize_rcu
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Dec 2025 17:25:17 +0000 (12:25 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Dec 2025 13:02:56 +0000 (08:02 -0500)
commitb0fe545b3c64b327b1ef56ee57def6e1afa470a8
tree2bd430f222f0496d82dddedcab035bff1e70274b
parenta2f964c45b355cabdb70ecc48ef3cc8b19afaa80
tools/virtio: stub might_sleep and synchronize_rcu

Add might_sleep() and synchronize_rcu() stubs needed by virtio_config.h.

might_sleep() is a no-op, synchronize_rcu doesn't work but we don't
need it to.

Created using Cursor CLI.

Message-ID: <5557e026335d808acd7b890693ee1382e73dd33a.1764873799.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/linux/kernel.h