.. | .. |
---|
3 | 3 | #define __ASM_GENERIC_SEMBUF_H |
---|
4 | 4 | |
---|
5 | 5 | #include <asm/bitsperlong.h> |
---|
| 6 | +#include <asm/ipcbuf.h> |
---|
6 | 7 | |
---|
7 | 8 | /* |
---|
8 | 9 | * The semid64_ds structure for x86 architecture. |
---|
.. | .. |
---|
13 | 14 | * everyone just ended up making identical copies without specific |
---|
14 | 15 | * optimizations, so we may just as well all use the same one. |
---|
15 | 16 | * |
---|
16 | | - * 64 bit architectures use a 64-bit __kernel_time_t here, while |
---|
| 17 | + * 64 bit architectures use a 64-bit long time field here, while |
---|
17 | 18 | * 32 bit architectures have a pair of unsigned long values. |
---|
18 | | - * so they do not need the first two padding words. |
---|
19 | 19 | * |
---|
20 | 20 | * On big-endian systems, the padding is in the wrong place for |
---|
21 | 21 | * historic reasons, so user space has to reconstruct a time_t |
---|
.. | .. |
---|
29 | 29 | struct semid64_ds { |
---|
30 | 30 | struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ |
---|
31 | 31 | #if __BITS_PER_LONG == 64 |
---|
32 | | - __kernel_time_t sem_otime; /* last semop time */ |
---|
33 | | - __kernel_time_t sem_ctime; /* last change time */ |
---|
| 32 | + long sem_otime; /* last semop time */ |
---|
| 33 | + long sem_ctime; /* last change time */ |
---|
34 | 34 | #else |
---|
35 | 35 | unsigned long sem_otime; /* last semop time */ |
---|
36 | 36 | unsigned long sem_otime_high; |
---|