summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-04-02 09:59:17 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-04-02 16:42:58 +1030
commit608c380c304ce017dfddbceff988ffd0a36636d9 (patch)
tree9c348bad9d7625323f3fd335aee10f77a7667bf9
parenta8c7687bf21603af6246e55cc58f98e42241bd01 (diff)
downloadblackbird-op-linux-608c380c304ce017dfddbceff988ffd0a36636d9.tar.gz
blackbird-op-linux-608c380c304ce017dfddbceff988ffd0a36636d9.zip
virtio: do not export "u16" and "u64" to userspace
virtio_balloon.h exports "u16" and "u64" to userspace. Use "__u16" and "__u64" instead. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--include/uapi/linux/virtio_balloon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/virtio_balloon.h b/include/uapi/linux/virtio_balloon.h
index 652dc8bea921..5e26f61b5df5 100644
--- a/include/uapi/linux/virtio_balloon.h
+++ b/include/uapi/linux/virtio_balloon.h
@@ -52,8 +52,8 @@ struct virtio_balloon_config
#define VIRTIO_BALLOON_S_NR 6
struct virtio_balloon_stat {
- u16 tag;
- u64 val;
+ __u16 tag;
+ __u64 val;
} __attribute__((packed));
#endif /* _LINUX_VIRTIO_BALLOON_H */
OpenPOWER on IntegriCloud