1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef __ASM_GENERIC_SEMBUF_H 7 #define __ASM_GENERIC_SEMBUF_H 8 #include <asm/bitsperlong.h> 9 struct semid64_ds { 10 struct ipc64_perm sem_perm; 11 #if __BITS_PER_LONG == 64 12 __kernel_time_t sem_otime; 13 __kernel_time_t sem_ctime; 14 #else 15 unsigned long sem_otime; 16 unsigned long sem_otime_high; 17 unsigned long sem_ctime; 18 unsigned long sem_ctime_high; 19 #endif 20 unsigned long sem_nsems; 21 unsigned long __unused3; 22 unsigned long __unused4; 23 }; 24 #endif 25