aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-17 10:44:15 +0930
committerSteven Rostedt <rostedt@goodmis.org>2013-06-05 10:30:27 -0400
commit34b93d738403b13558f30923b49976a905e6dcbf (patch)
tree59064634fe554ed4161ce201dda4ee8fca07cd4c
parenta86253bac070b729a8a0af31bfe8ea8cf1faa124 (diff)
virtio_console: fix uapi header
[ Upstream commit 6407d75afd08545f2252bb39806ffd3f10c7faac ] 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> Cc: stable@kernel.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-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 bdf4b0034739..82e12ad3d97f 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 */