hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/uapi/asm-generic/shmbuf.h
....@@ -13,9 +13,9 @@
1313 * everyone just ended up making identical copies without specific
1414 * optimizations, so we may just as well all use the same one.
1515 *
16
- * 64 bit architectures typically define a 64 bit __kernel_time_t,
17
- * so they do not need the first two padding words.
18
- * On big-endian systems, the padding is in the wrong place.
16
+ * 64 bit architectures use a 64-bit long time field here, while
17
+ * 32 bit architectures have a pair of unsigned long values.
18
+ * On big-endian systems, the lower half is in the wrong place.
1919 *
2020 *
2121 * Pad space is left for:
....@@ -26,9 +26,9 @@
2626 struct ipc64_perm shm_perm; /* operation perms */
2727 size_t shm_segsz; /* size of segment (bytes) */
2828 #if __BITS_PER_LONG == 64
29
- __kernel_time_t shm_atime; /* last attach time */
30
- __kernel_time_t shm_dtime; /* last detach time */
31
- __kernel_time_t shm_ctime; /* last change time */
29
+ long shm_atime; /* last attach time */
30
+ long shm_dtime; /* last detach time */
31
+ long shm_ctime; /* last change time */
3232 #else
3333 unsigned long shm_atime; /* last attach time */
3434 unsigned long shm_atime_high;