| 1 |
|
| 2 | #ifndef _ASM_POWERPC_MSGBUF_H
|
| 3 | #define _ASM_POWERPC_MSGBUF_H
|
| 4 |
|
| 5 | #include <asm/ipcbuf.h>
|
| 6 |
|
| 7 | |
| 8 | * The msqid64_ds structure for the PowerPC architecture.
|
| 9 | * Note extra padding because this structure is passed back and forth
|
| 10 | * between kernel and user space.
|
| 11 |
|
| 12 |
|
| 13 | struct msqid64_ds {
|
| 14 | struct ipc64_perm msg_perm;
|
| 15 | #ifdef __powerpc64__
|
| 16 | long msg_stime;
|
| 17 | long msg_rtime;
|
| 18 | long msg_ctime;
|
| 19 | #else
|
| 20 | unsigned long msg_stime_high;
|
| 21 | unsigned long msg_stime;
|
| 22 | unsigned long msg_rtime_high;
|
| 23 | unsigned long msg_rtime;
|
| 24 | unsigned long msg_ctime_high;
|
| 25 | unsigned long msg_ctime;
|
| 26 | #endif
|
| 27 | unsigned long msg_cbytes;
|
| 28 | unsigned long msg_qnum;
|
| 29 | unsigned long msg_qbytes;
|
| 30 | __kernel_pid_t msg_lspid;
|
| 31 | __kernel_pid_t msg_lrpid;
|
| 32 | unsigned long __unused4;
|
| 33 | unsigned long __unused5;
|
| 34 | };
|
| 35 |
|
| 36 | #endif
|