Skip to content

Commit 205dd7a

Browse files
committed
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: 7c1ae15 ("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>
1 parent dfe44d1 commit 205dd7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/virtio_pci.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#define _LINUX_VIRTIO_PCI_H
4141

4242
#include <linux/types.h>
43-
#include <linux/kernel.h>
43+
#include <linux/const.h>
4444

4545
#ifndef VIRTIO_PCI_NO_LEGACY
4646

0 commit comments

Comments
 (0)