提交 af378468 编写于 作者: A Arnd Bergmann

y2038: ipc: fix x32 ABI breakage

The correct type on x32 is 64-bit wide, same as for the other struct
members around it, so use  __kernel_long_t in place of the original
__kernel_time_t here, corresponding to the rest of the structure.

Fixes: caf5e32d ("y2038: ipc: remove __kernel_time_t reference from headers")
Reported-by: NBen Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
上级 1c11ca7a
无相关合并请求
......@@ -21,9 +21,9 @@ struct semid64_ds {
unsigned long sem_ctime; /* last change time */
unsigned long sem_ctime_high;
#else
long sem_otime; /* last semop time */
__kernel_long_t sem_otime; /* last semop time */
__kernel_ulong_t __unused1;
long sem_ctime; /* last change time */
__kernel_long_t sem_ctime; /* last change time */
__kernel_ulong_t __unused2;
#endif
__kernel_ulong_t sem_nsems; /* no. of semaphores in array */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部