1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 2 #ifndef _ASM_SEMBUF_H 3 #define _ASM_SEMBUF_H 4 5 #include <asm/ipcbuf.h> 6 7 /* 8 * The semid64_ds structure for the MIPS archi 9 * Note extra padding because this structure i 10 * between kernel and user space. 11 * 12 * Pad space is left for 2 miscellaneous 64-bi 13 * but used for the upper 32 bit of the time v 14 */ 15 16 #ifdef __mips64 17 struct semid64_ds { 18 struct ipc64_perm sem_perm; 19 long sem_otime; 20 long sem_ctime; 21 unsigned long sem_nsems; 22 unsigned long __unused1; 23 unsigned long __unused2; 24 }; 25 #else 26 struct semid64_ds { 27 struct ipc64_perm sem_perm; 28 unsigned long sem_otime; 29 unsigned long sem_ctime; 30 unsigned long sem_nsems; 31 unsigned long sem_otime_high; 32 unsigned long sem_ctime_high; 33 }; 34 #endif 35 36 #endif /* _ASM_SEMBUF_H */ 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.