Linux v2.6.16-rc1
[linux-2.6/next.git] / include / asm-m32r / sembuf.h
blobe69018e6ff711435ba9a9df5138ab491722d3778
1 #ifndef _ASM_M32R_SEMBUF_H
2 #define _ASM_M32R_SEMBUF_H
4 /* $Id$ */
6 /* orig : i386 2.4.18 */
8 /*
9 * The semid64_ds structure for m32r architecture.
10 * Note extra padding because this structure is passed back and forth
11 * between kernel and user space.
13 * Pad space is left for:
14 * - 64-bit time_t to solve y2038 problem
15 * - 2 miscellaneous 32-bit values
18 struct semid64_ds {
19 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
20 __kernel_time_t sem_otime; /* last semop time */
21 unsigned long __unused1;
22 __kernel_time_t sem_ctime; /* last change time */
23 unsigned long __unused2;
24 unsigned long sem_nsems; /* no. of semaphores in array */
25 unsigned long __unused3;
26 unsigned long __unused4;
29 #endif /* _ASM_M32R_SEMBUF_H */