On Wed, Dec 25, 2013 at 08:58:34AM -0800, H.J. Lu wrote: > Both x32 and x86-64 use the same struct mq_attr for system calls. But > x32 long is 32-bit. This patch replaces long with __kernel_long_t in > struct mq_attr. > Here is the updated patch which uses __kernel_long_t only if __BITS_PER_LONG == 64. H.J.