Re: [PATCH] Use __kernel_ulong_t in shmid64_ds/shminfo64/shm_info

From: H.J. Lu
Date: Thu Dec 26 2013 - 10:53:42 EST

On Wed, Dec 25, 2013 at 08:53:59AM -0800, H.J. Lu wrote:
> Both x32 and x86-64 use the same struct shmid64_ds/shminfo64/shm_info for
> system calls. But x32 long is 32-bit. This patch replaces unsigned long
> with __kernel_ulong_t in struct shmid64_ds/shminfo64/shm_info.

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