diff options
Diffstat (limited to 'include/asm-ppc64/sembuf.h')
-rw-r--r-- | include/asm-ppc64/sembuf.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/asm-ppc64/sembuf.h b/include/asm-ppc64/sembuf.h new file mode 100644 index 000000000000..172e59000767 --- /dev/null +++ b/include/asm-ppc64/sembuf.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef _PPC64_SEMBUF_H | ||
2 | #define _PPC64_SEMBUF_H | ||
3 | |||
4 | /* | ||
5 | * The semid64_ds structure for PPC architecture. | ||
6 | * | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License | ||
10 | * as published by the Free Software Foundation; either version | ||
11 | * 2 of the License, or (at your option) any later version. | ||
12 | * | ||
13 | * Pad space is left for: | ||
14 | * - 2 miscellaneous 64-bit values | ||
15 | */ | ||
16 | |||
17 | struct semid64_ds { | ||
18 | struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ | ||
19 | __kernel_time_t sem_otime; /* last semop time */ | ||
20 | __kernel_time_t sem_ctime; /* last change time */ | ||
21 | unsigned long sem_nsems; /* no. of semaphores in array */ | ||
22 | |||
23 | unsigned long __unused1; | ||
24 | unsigned long __unused2; | ||
25 | }; | ||
26 | |||
27 | #endif /* _PPC64_SEMBUF_H */ | ||