]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef __ASM_SH64_SEMBUF_H |
2 | #define __ASM_SH64_SEMBUF_H | |
3 | ||
4 | /* | |
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 | |
7 | * for more details. | |
8 | * | |
9 | * include/asm-sh64/sembuf.h | |
10 | * | |
11 | * Copyright (C) 2000, 2001 Paolo Alberelli | |
12 | * | |
13 | */ | |
14 | ||
15 | /* | |
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. | |
19 | * | |
20 | * Pad space is left for: | |
21 | * - 64-bit time_t to solve y2038 problem | |
22 | * - 2 miscellaneous 32-bit values | |
23 | */ | |
24 | ||
25 | struct semid64_ds { | |
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; | |
34 | }; | |
35 | ||
36 | #endif /* __ASM_SH64_SEMBUF_H */ |