[PATCH 05/10] Use __kernel_long_t in struct mq_attr
From: H.J. Lu
Date: Thu May 17 2012 - 18:14:22 EST
From: "H.J. Lu" <hjl.tools@xxxxxxxxx>
Replace long with __kernel_long_t in struct mq_attr for user space.
Signed-off-by: H.J. Lu <hjl.tools@xxxxxxxxx>
---
include/linux/mqueue.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/mqueue.h b/include/linux/mqueue.h
index 8b5a796..d89a735 100644
--- a/include/linux/mqueue.h
+++ b/include/linux/mqueue.h
@@ -23,11 +23,11 @@
#define MQ_BYTES_MAX 819200
struct mq_attr {
- long mq_flags; /* message queue flags */
- long mq_maxmsg; /* maximum number of messages */
- long mq_msgsize; /* maximum message size */
- long mq_curmsgs; /* number of messages currently queued */
- long __reserved[4]; /* ignored for input, zeroed for output */
+ __kernel_long_t mq_flags; /* message queue flags */
+ __kernel_long_t mq_maxmsg; /* maximum number of messages */
+ __kernel_long_t mq_msgsize; /* maximum message size */
+ __kernel_long_t mq_curmsgs; /* number of messages currently queued */
+ __kernel_long_t __reserved[4]; /* ignored for input, zeroed for output */
};
/*
--
1.7.6.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/