1 #ifndef __ASM_SH64_SEMBUF_H
2 #define __ASM_SH64_SEMBUF_H
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
9 * include/asm-sh64/sembuf.h
11 * Copyright (C) 2000, 2001 Paolo Alberelli
16 * The semid64_ds structure for i386 architecture.
17 * Note extra padding because this structure is passed back and forth
18 * between kernel and user space.
20 * Pad space is left for:
21 * - 64-bit time_t to solve y2038 problem
22 * - 2 miscellaneous 32-bit values
26 struct ipc64_perm sem_perm
; /* permissions .. see ipc.h */
27 __kernel_time_t sem_otime
; /* last semop time */
28 unsigned long __unused1
;
29 __kernel_time_t sem_ctime
; /* last change time */
30 unsigned long __unused2
;
31 unsigned long sem_nsems
; /* no. of semaphores in array */
32 unsigned long __unused3
;
33 unsigned long __unused4
;
36 #endif /* __ASM_SH64_SEMBUF_H */