aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/msg.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-29 21:22:16 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-29 21:22:16 -0500
commitcca21640d217f2a421ef63e7045381dc2b9a8afc (patch)
tree37b93802a3d83c8f8e97aa356582d74bb3f118b9 /include/uapi/linux/msg.h
parente914e3f48d0f3978d1561ae3668908e4c0262acf (diff)
parent63159f5dcccb3858d88aaef800c4ee0eb4cc8577 (diff)
Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull more x32 uabi type fixes from Peter Anvin: "Despite the branch name, **most of these changes are to generic code**. They change types so that they make an increasing amount of the exported uapi kernel headers usable for libc. The ARM64 people are also interested in these changes for their ILP32 ABI" * 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: uapi: Use __kernel_long_t in struct mq_attr uapi: Use __kernel_ulong_t in shmid64_ds/shminfo64/shm_info x86, uapi, x32: Use __kernel_ulong_t in x86 struct semid64_ds uapi: Use __kernel_ulong_t in struct msqid64_ds uapi: Use __kernel_long_t in struct msgbuf uapi, asm-generic: Use __kernel_ulong_t in uapi struct ipc64_perm uapi: Use __kernel_long_t/__kernel_ulong_t in <linux/resource.h> uapi: Use __kernel_long_t in struct timex
Diffstat (limited to 'include/uapi/linux/msg.h')
-rw-r--r--include/uapi/linux/msg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/msg.h b/include/uapi/linux/msg.h
index 22d95c6854e0..a70375526578 100644
--- a/include/uapi/linux/msg.h
+++ b/include/uapi/linux/msg.h
@@ -34,8 +34,8 @@ struct msqid_ds {
34 34
35/* message buffer for msgsnd and msgrcv calls */ 35/* message buffer for msgsnd and msgrcv calls */
36struct msgbuf { 36struct msgbuf {
37 long mtype; /* type of message */ 37 __kernel_long_t mtype; /* type of message */
38 char mtext[1]; /* message text */ 38 char mtext[1]; /* message text */
39}; 39};
40 40
41/* buffer for msgctl calls IPC_INFO, MSG_INFO */ 41/* buffer for msgctl calls IPC_INFO, MSG_INFO */