aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-17 10:44:15 +0930
committerBen Hutchings <ben@decadent.org.uk>2013-05-30 14:35:03 +0100
commit0cbb6f3def0ceedcbef5af335c756cd427d9e8cc (patch)
tree4077386ef46869910aa4e4243d097a6da5c43e3f
parentd63f0b723b88be5e598795f0c2b1544d5bbc5def (diff)
virtio_console: fix uapi header
commit 6407d75afd08545f2252bb39806ffd3f10c7faac upstream. uapi should use __u32 not u32. Fix a macro in virtio_console.h which uses u32. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--include/linux/virtio_console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h
index bdf4b003473..82e12ad3d97 100644
--- a/include/linux/virtio_console.h
+++ b/include/linux/virtio_console.h
@@ -39,7 +39,7 @@
#define VIRTIO_CONSOLE_F_SIZE 0 /* Does host provide console size? */
#define VIRTIO_CONSOLE_F_MULTIPORT 1 /* Does host provide multiple ports? */
-#define VIRTIO_CONSOLE_BAD_ID (~(u32)0)
+#define VIRTIO_CONSOLE_BAD_ID (~(__u32)0)
struct virtio_console_config {
/* colums of the screens */