Re: [PATCH] Use __kernel_ulong_t in uapi struct ipc64_perm

From: H.J. Lu
Date: Thu Dec 26 2013 - 10:39:09 EST


On Wed, Dec 25, 2013 at 07:45:41AM -0800, H.J. Lu wrote:
> X32 IPC system call is the same as x86-64 IPC system call, which uses
> 64-bit integer for unsigned long in struct ipc64_perm. But x32 long is
> 32 bit. This patch replaces unsigned long in uapi struct ipc64_perm with
> __kernel_ulong_t.
>

Here is the updated patch which uses __kernel_ulong_t only if
__BITS_PER_LONG == 64.

H.J.