1 #ifndef _PARISC_SEMBUF_H
2 #define _PARISC_SEMBUF_H
4 #include <asm/bitsperlong.h>
7 * The semid64_ds structure for parisc architecture.
8 * Note extra padding because this structure is passed back and forth
9 * between kernel and user space.
11 * Pad space is left for:
12 * - 64-bit time_t to solve y2038 problem
13 * - 2 miscellaneous 32-bit values
17 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
18 #if __BITS_PER_LONG != 64
21 __kernel_time_t sem_otime; /* last semop time */
22 #if __BITS_PER_LONG != 64
25 __kernel_time_t sem_ctime; /* last change time */
26 unsigned int sem_nsems; /* no. of semaphores in array */
27 unsigned int __unused1;
28 unsigned int __unused2;
31 #endif /* _PARISC_SEMBUF_H */