1130389Sle/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2190507Slulf#ifndef _ASM_POWERPC_MSGBUF_H 3130389Sle#define _ASM_POWERPC_MSGBUF_H 4130389Sle 5130389Sle#include <asm/ipcbuf.h> 6130389Sle 7130389Sle/* 8130389Sle * The msqid64_ds structure for the PowerPC architecture. 9130389Sle * Note extra padding because this structure is passed back and forth 10130389Sle * between kernel and user space. 11130389Sle */ 12130389Sle 13130389Slestruct msqid64_ds { 14130389Sle struct ipc64_perm msg_perm; 15130389Sle#ifdef __powerpc64__ 16130389Sle long msg_stime; /* last msgsnd time */ 17130389Sle long msg_rtime; /* last msgrcv time */ 18130389Sle long msg_ctime; /* last change time */ 19130389Sle#else 20130389Sle unsigned long msg_stime_high; 21130389Sle unsigned long msg_stime; /* last msgsnd time */ 22130389Sle unsigned long msg_rtime_high; 23130389Sle unsigned long msg_rtime; /* last msgrcv time */ 24130389Sle unsigned long msg_ctime_high; 25130389Sle unsigned long msg_ctime; /* last change time */ 26130389Sle#endif 27130389Sle unsigned long msg_cbytes; /* current number of bytes on queue */ 28130389Sle unsigned long msg_qnum; /* number of messages in queue */ 29130389Sle unsigned long msg_qbytes; /* max number of bytes on queue */ 30130389Sle __kernel_pid_t msg_lspid; /* pid of last msgsnd */ 31130389Sle __kernel_pid_t msg_lrpid; /* last receive pid */ 32130389Sle unsigned long __unused4; 33130389Sle unsigned long __unused5; 34130389Sle}; 35130389Sle 36130389Sle#endif /* _ASM_POWERPC_MSGBUF_H */ 37130389Sle