]> Gentwo Git Trees - linux/.git/commit
virtio_pci: drop kernel.h
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 18 Nov 2025 23:06:31 +0000 (18:06 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Nov 2025 23:02:43 +0000 (18:02 -0500)
commit205dd7a5d6ad6f4c8e8fcd3c3b95a7c0e7067fee
treeccb5479fb8cc50ac7f5b533706e7c012e61905ad
parentdfe44d177afc0cc56507c80b34f6f1e4e106441f
virtio_pci: drop kernel.h

virtio UAPI headers really have no business pulling in kernel.h
Replace it with const.h which seems to be what's needed
for __KERNEL_DIV_ROUND_UP.

Fixes: 7c1ae151e812 ("virtio_pci: Introduce device parts access commands")
Cc: Yishai Hadas <yishaih@nvidia.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Message-ID: <7a73b6c6af67e13b86633cd7bf11ad56b5d9809b.1763535341.git.mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/uapi/linux/virtio_pci.h