Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread H. Peter Anvin
On 12/26/2013 05:52 AM, H.J. Lu wrote: >> >> a) please send all your related patches as a series > > My patches are independent of each other. They can > be applied in order. > Sure, but the convention in the Linux community is to send them all as a "series" using git send-email, preferably wi

Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread H.J. Lu
On Thu, Dec 26, 2013 at 9:58 AM, H. Peter Anvin wrote: > On 12/26/2013 05:52 AM, H.J. Lu wrote: >> >>> c) why you suddenly need these changes now and not when the x32 ABI >>> support was submitted and hopefully heavily tested >> >> Kernel headers had been wrong for -m32/-mx32 on x86-64 >> for

Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread H. Peter Anvin
On 12/26/2013 05:52 AM, H.J. Lu wrote: > >> c) why you suddenly need these changes now and not when the x32 ABI >> support was submitted and hopefully heavily tested > > Kernel headers had been wrong for -m32/-mx32 on x86-64 > for a long long time. Linux/x86-64 normally use header > files f

Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread H.J. Lu
Here is the updated patch which uses __kernel_long_t/__kernel_ulong_t only if __BITS_PER_LONG == 64. H.J. >From d2a3409eb9aecd545a3f9c384dd55cfc870122ac Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 25 Dec 2013 06:50:33 -0800 Subject: [PATCH] Use __kernel_long_t/__kernel_ulong_t

Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread H.J. Lu
On Thu, Dec 26, 2013 at 5:52 AM, H.J. Lu wrote: > On Thu, Dec 26, 2013 at 2:03 AM, Christoph Hellwig wrote: >> On Wed, Dec 25, 2013 at 06:54:47AM -0800, H.J. Lu wrote: >>> Both x32 and x86-64 use the same struct rusage and struct rlimit for >>> system calls. But x32 log is 32-bit. This patch ch

Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread H.J. Lu
On Thu, Dec 26, 2013 at 2:03 AM, Christoph Hellwig wrote: > On Wed, Dec 25, 2013 at 06:54:47AM -0800, H.J. Lu wrote: >> 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

Re: [PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-26 Thread Christoph Hellwig
On Wed, Dec 25, 2013 at 06:54:47AM -0800, H.J. Lu wrote: > 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. a) please send al

[PATCH] Use __kernel_long_t/__kernel_ulong_t in

2013-12-25 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 ---