Re: [PATCH] Use __kernel_long_t in struct msgbuf

From: H.J. Lu
Date: Thu Dec 26 2013 - 10:51:40 EST

On Wed, Dec 25, 2013 at 07:58:50AM -0800, H.J. Lu wrote:
> X32 msgsnd/msgrcv system calls are the same as x86-64 msgsnd/msgrcv system
> calls, which use 64-bit integer for long in struct msgbuf . But x32 long
> is 32 bit. This patch replaces long in struct msgbuf with __kernel_long_t.

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