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

uapi: Use __kernel_long_t/__kernel_ulong_t in <linux/resource.h>



Both x32 and x86-64 use the same struct rusage and struct rlimit for
system calls.  But x32 log is 32-bit.  This patch change uapi
<linux/resource.h> to use __kernel_long_t in struct rusage and
__kernel_ulong_t in and struct rlimit.

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


Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 7fb30128
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