170c1674fSDavid Howells #ifndef _PARISC_SEMBUF_H 270c1674fSDavid Howells #define _PARISC_SEMBUF_H 370c1674fSDavid Howells 470c1674fSDavid Howells /* 570c1674fSDavid Howells * The semid64_ds structure for parisc architecture. 670c1674fSDavid Howells * Note extra padding because this structure is passed back and forth 770c1674fSDavid Howells * between kernel and user space. 870c1674fSDavid Howells * 970c1674fSDavid Howells * Pad space is left for: 1070c1674fSDavid Howells * - 64-bit time_t to solve y2038 problem 1170c1674fSDavid Howells * - 2 miscellaneous 32-bit values 1270c1674fSDavid Howells */ 1370c1674fSDavid Howells 1470c1674fSDavid Howells struct semid64_ds { 1570c1674fSDavid Howells struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ 1670c1674fSDavid Howells #ifndef CONFIG_64BIT 1770c1674fSDavid Howells unsigned int __pad1; 1870c1674fSDavid Howells #endif 1970c1674fSDavid Howells __kernel_time_t sem_otime; /* last semop time */ 2070c1674fSDavid Howells #ifndef CONFIG_64BIT 2170c1674fSDavid Howells unsigned int __pad2; 2270c1674fSDavid Howells #endif 2370c1674fSDavid Howells __kernel_time_t sem_ctime; /* last change time */ 2470c1674fSDavid Howells unsigned int sem_nsems; /* no. of semaphores in array */ 2570c1674fSDavid Howells unsigned int __unused1; 2670c1674fSDavid Howells unsigned int __unused2; 2770c1674fSDavid Howells }; 2870c1674fSDavid Howells 2970c1674fSDavid Howells #endif /* _PARISC_SEMBUF_H */ 30