[PATCH 5/8] Use __kernel_ulong_t in struct msqid64_ds

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

[PATCH 5/8] Use __kernel_ulong_t in struct msqid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct msqid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in struct msqid64_ds if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu --- include/uapi/asm-generic/msgbuf.h | 19 ++- 1 file

[PATCH 5/8] Use __kernel_ulong_t in struct msqid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct msqid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in struct msqid64_ds if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu hjl.to...@gmail.com --- include/uapi/asm-generic/msgbuf.h | 19

[PATCH 5/8] Use __kernel_ulong_t in struct msqid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct msqid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in struct msqid64_ds. Signed-off-by: H.J. Lu hjl.to...@gmail.com --- include/uapi/asm-generic/msgbuf.h | 10 +- 1 file changed, 5