hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/uapi/asm-generic/sembuf.h
....@@ -3,6 +3,7 @@
33 #define __ASM_GENERIC_SEMBUF_H
44
55 #include <asm/bitsperlong.h>
6
+#include <asm/ipcbuf.h>
67
78 /*
89 * The semid64_ds structure for x86 architecture.
....@@ -13,9 +14,8 @@
1314 * everyone just ended up making identical copies without specific
1415 * optimizations, so we may just as well all use the same one.
1516 *
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
1718 * 32 bit architectures have a pair of unsigned long values.
18
- * so they do not need the first two padding words.
1919 *
2020 * On big-endian systems, the padding is in the wrong place for
2121 * historic reasons, so user space has to reconstruct a time_t
....@@ -29,8 +29,8 @@
2929 struct semid64_ds {
3030 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
3131 #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 */
3434 #else
3535 unsigned long sem_otime; /* last semop time */
3636 unsigned long sem_otime_high;