2 * Copyright (C) 2006 Atmark Techno, Inc.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
9 #ifndef _ASM_MICROBLAZE_SEMBUF_H
10 #define _ASM_MICROBLAZE_SEMBUF_H
13 * The semid64_ds structure for microblaze architecture.
14 * Note extra padding because this structure is passed back and forth
15 * between kernel and user space.
17 * Pad space is left for:
18 * - 64-bit time_t to solve y2038 problem
19 * - 2 miscellaneous 32-bit values
23 struct ipc64_perm sem_perm
; /* permissions .. see ipc.h */
24 __kernel_time_t sem_otime
; /* last semop time */
25 unsigned long __unused1
;
26 __kernel_time_t sem_ctime
; /* last change time */
27 unsigned long __unused2
;
28 unsigned long sem_nsems
; /* no. of semaphores in array */
29 unsigned long __unused3
;
30 unsigned long __unused4
;
34 #endif /* _ASM_MICROBLAZE_SEMBUF_H */