Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1557825

[PATCH] virtio_mmio: expose header to userspace

From "Michael S. Tsirkin" <mst@redhat.com>
Newsgroups linux.kernel
Subject [PATCH] virtio_mmio: expose header to userspace
Date 2017-01-12 22:40 +0100
Message-ID <sYVge-Ak-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


It's handy for userspace emulators like QEMU.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 drivers/virtio/virtio_mmio.c           | 2 +-
 include/{ => uapi}/linux/virtio_mmio.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/{ => uapi}/linux/virtio_mmio.h (100%)

diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index d47a2fc..7a10aa2 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -69,7 +69,7 @@
 #include <linux/spinlock.h>
 #include <linux/virtio.h>
 #include <linux/virtio_config.h>
-#include <linux/virtio_mmio.h>
+#include <uapi/linux/virtio_mmio.h>
 #include <linux/virtio_ring.h>
 
 
diff --git a/include/linux/virtio_mmio.h b/include/uapi/linux/virtio_mmio.h
similarity index 100%
rename from include/linux/virtio_mmio.h
rename to include/uapi/linux/virtio_mmio.h
-- 
MST

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] virtio_mmio: expose header to userspace "Michael S. Tsirkin" <mst@redhat.com> - 2017-01-12 22:40 +0100
  Re: [PATCH] virtio_mmio: expose header to userspace Jason Wang <jasowang@redhat.com> - 2017-01-13 04:20 +0100
  Re: [PATCH] virtio_mmio: expose header to userspace Christoph Hellwig <hch@infradead.org> - 2017-01-13 09:10 +0100
    Re: [PATCH] virtio_mmio: expose header to userspace "Michael S. Tsirkin" <mst@redhat.com> - 2017-01-13 14:40 +0100

csiph-web