]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/asm-sh64/msgbuf.h
Consolidate of_get_parent
[karo-tx-linux.git] / include / asm-sh64 / msgbuf.h
1 #ifndef __ASM_SH64_MSGBUF_H
2 #define __ASM_SH64_MSGBUF_H
3
4 /*
5  * This file is subject to the terms and conditions of the GNU General Public
6  * License.  See the file "COPYING" in the main directory of this archive
7  * for more details.
8  *
9  * include/asm-sh64/msgbuf.h
10  *
11  * Copyright (C) 2000, 2001  Paolo Alberelli
12  *
13  */
14
15 /*
16  * The msqid64_ds structure for i386 architecture.
17  * Note extra padding because this structure is passed back and forth
18  * between kernel and user space.
19  *
20  * Pad space is left for:
21  * - 64-bit time_t to solve y2038 problem
22  * - 2 miscellaneous 32-bit values
23  */
24
25 struct msqid64_ds {
26         struct ipc64_perm msg_perm;
27         __kernel_time_t msg_stime;      /* last msgsnd time */
28         unsigned long   __unused1;
29         __kernel_time_t msg_rtime;      /* last msgrcv time */
30         unsigned long   __unused2;
31         __kernel_time_t msg_ctime;      /* last change time */
32         unsigned long   __unused3;
33         unsigned long  msg_cbytes;      /* current number of bytes on queue */
34         unsigned long  msg_qnum;        /* number of messages in queue */
35         unsigned long  msg_qbytes;      /* max number of bytes on queue */
36         __kernel_pid_t msg_lspid;       /* pid of last msgsnd */
37         __kernel_pid_t msg_lrpid;       /* last receive pid */
38         unsigned long  __unused4;
39         unsigned long  __unused5;
40 };
41
42 #endif /* __ASM_SH64_MSGBUF_H */