Re: [PATCH] Use __kernel_ulong_t in uapi struct ipc64_perm

2013-12-26 Thread H.J. Lu
rnel_ulong_t. > Here is the updated patch which uses __kernel_ulong_t only if __BITS_PER_LONG == 64. H.J. >From 81b4c3c55f994d54eafcaf4adaa2a16786c41fdd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 25 Dec 2013 07:13:02 -0800 Subject: [PATCH] Use __kernel_ulong_t in uap

[PATCH] Use __kernel_ulong_t in uapi struct ipc64_perm

2013-12-25 Thread H.J. Lu
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. Signed-off-by: H.J. Lu --- include/uapi/asm-generic/ipcbuf.h |