Skip to content
Commit f8dcdf01 authored by H.J. Lu's avatar H.J. Lu Committed by H. Peter Anvin
Browse files

uapi: Use __kernel_ulong_t in shmid64_ds/shminfo64/shm_info



Both x32 and x86-64 use the same struct shmid64_ds/shminfo64/shm_info for
system calls.  But x32 long is 32-bit. This patch replaces unsigned long
with __kernel_ulong_t in struct shmid64_ds/shminfo64/shm_info.

Signed-off-by: default avatarH.J. Lu <hjl.tools@gmail.com>
Link: http://lkml.kernel.org/r/1388182464-28428-8-git-send-email-hjl.tools@gmail.com


Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 38691659
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment