Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / m32r / include / uapi / asm / msgbuf.h
blob4386ff2735ba56f71108a0e6069a91b69a162fe2
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_M32R_MSGBUF_H
3 #define _ASM_M32R_MSGBUF_H
5 /*
6 * The msqid64_ds structure for m32r architecture.
7 * Note extra padding because this structure is passed back and forth
8 * between kernel and user space.
10 * Pad space is left for:
11 * - 64-bit time_t to solve y2038 problem
12 * - 2 miscellaneous 32-bit values
15 struct msqid64_ds {
16 struct ipc64_perm msg_perm;
17 __kernel_time_t msg_stime; /* last msgsnd time */
18 unsigned long __unused1;
19 __kernel_time_t msg_rtime; /* last msgrcv time */
20 unsigned long __unused2;
21 __kernel_time_t msg_ctime; /* last change time */
22 unsigned long __unused3;
23 unsigned long msg_cbytes; /* current number of bytes on queue */
24 unsigned long msg_qnum; /* number of messages in queue */
25 unsigned long msg_qbytes; /* max number of bytes on queue */
26 __kernel_pid_t msg_lspid; /* pid of last msgsnd */
27 __kernel_pid_t msg_lrpid; /* last receive pid */
28 unsigned long __unused4;
29 unsigned long __unused5;
32 #endif /* _ASM_M32R_MSGBUF_H */