Re: [PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2014-01-22 Thread H. Peter Anvin
On 01/22/2014 06:57 AM, Catalin Marinas wrote: > > Thanks, very useful. We'll give it a try when we get there. So far I > NAK'ed the first set of arm64 ILP32 patches as they were mostly using > the compat ABI (https://lkml.org/lkml/2013/9/9/502). > That's mostly where we started out, too.

Re: [PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2014-01-22 Thread Catalin Marinas
On Tue, Jan 21, 2014 at 06:06:11PM +, H.J. Lu wrote: > On Tue, Jan 21, 2014 at 9:10 AM, Catalin Marinas > wrote: > > On Fri, Dec 27, 2013 at 05:25:10PM +, H.J. Lu wrote: > >> Both x32 and x86-64 use the same struct semid64_ds for system calls. > >> But x32 long is 32-bit. This patch replac

Re: [PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2014-01-21 Thread H.J. Lu
On Tue, Jan 21, 2014 at 9:10 AM, Catalin Marinas wrote: > On Fri, Dec 27, 2013 at 05:25:10PM +, H.J. Lu wrote: >> Both x32 and x86-64 use the same struct semid64_ds for system calls. >> But x32 long is 32-bit. This patch replaces unsigned long with >> __kernel_ulong_t in x86 struct semid64_ds.

Re: [PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2014-01-21 Thread Catalin Marinas
On Fri, Dec 27, 2013 at 05:25:10PM +, H.J. Lu wrote: > Both x32 and x86-64 use the same struct semid64_ds for system calls. > But x32 long is 32-bit. This patch replaces unsigned long with > __kernel_ulong_t in x86 struct semid64_ds. > > Signed-off-by: H.J. Lu > --- > arch/x86/include/uapi/a

[PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct semid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in x86 struct semid64_ds. Signed-off-by: H.J. Lu --- arch/x86/include/uapi/asm/sembuf.h | 10 +- 1 file changed, 5 insertions(+), 5 deletio

[PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct semid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in x86 struct semid64_ds. Signed-off-by: H.J. Lu --- arch/x86/include/uapi/asm/sembuf.h | 10 +- 1 file changed, 5 insertions(+), 5 deletio