Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 */ |