[PATCH 2/8] Use __kernel_long_t/__kernel_ulong_t in

2013-12-27 Thread H.J. Lu
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 to use __kernel_long_t in struct rusage and __kernel_ulong_t in and struct rlimit. Signed-off-by: H.J. Lu --- include/uapi/linux/resource.h | 32 ---

[PATCH 2/8] Use __kernel_long_t/__kernel_ulong_t in

2013-12-27 Thread H.J. Lu
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 to use __kernel_long_t in struct rusage and __kernel_ulong_t in and struct rlimit if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu --- include/uapi/linux/resource.h