/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _SPARC_SEMBUF_H2#define _SPARC_SEMBUF_H34#include <asm/ipcbuf.h>56/*7* The semid64_ds structure for sparc 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:12* - 2 miscellaneous 32-bit values13*/1415struct semid64_ds {16struct ipc64_perm sem_perm; /* permissions .. see ipc.h */17#if defined(__sparc__) && defined(__arch64__)18long sem_otime; /* last semop time */19long sem_ctime; /* last change time */20#else21unsigned long sem_otime_high;22unsigned long sem_otime; /* last semop time */23unsigned long sem_ctime_high;24unsigned long sem_ctime; /* last change time */25#endif26unsigned long sem_nsems; /* no. of semaphores in array */27unsigned long __unused1;28unsigned long __unused2;29};3031#endif /* _SPARC64_SEMBUF_H */323334