/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _ASM_SEMBUF_H2#define _ASM_SEMBUF_H34#include <asm/ipcbuf.h>56/*7* The semid64_ds structure for the MIPS architecture.8* Note extra padding because this structure is passed back and forth9* between kernel and user space.10*11* Pad space is left for 2 miscellaneous 64-bit values on mips64,12* but used for the upper 32 bit of the time values on mips32.13*/1415#ifdef __mips6416struct semid64_ds {17struct ipc64_perm sem_perm; /* permissions .. see ipc.h */18long sem_otime; /* last semop time */19long sem_ctime; /* last change time */20unsigned long sem_nsems; /* no. of semaphores in array */21unsigned long __unused1;22unsigned long __unused2;23};24#else25struct semid64_ds {26struct ipc64_perm sem_perm; /* permissions .. see ipc.h */27unsigned long sem_otime; /* last semop time */28unsigned long sem_ctime; /* last change time */29unsigned long sem_nsems; /* no. of semaphores in array */30unsigned long sem_otime_high;31unsigned long sem_ctime_high;32};33#endif3435#endif /* _ASM_SEMBUF_H */363738