From: Michael S. Tsirkin Date: Mon, 20 May 2013 00:57:00 +0000 (+0930) Subject: virtio_pci: better macro exported in uapi X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~25^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b21ab140ec581caf3340a51cdbe91a76c36d9d8;p=pandora-kernel.git virtio_pci: better macro exported in uapi Macro VIRTIO_PCI_CONFIG assumes that userspace actually has a structure with a field named msix_enabled. Add VIRTIO_PCI_CONFIG_OFF that gets the msix_enabled by value instead, to make it useful for userspace. We still keep VIRTIO_PCI_CONFIG around for now, in case some userspace uses it. Signed-off-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed