[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131226153859.GD23355@gmail.com>
Date: Thu, 26 Dec 2013 07:38:59 -0800
From: "H.J. Lu" <hjl.tools@...il.com>
To: "H. Peter Anvin" <hpa@...or.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Use __kernel_ulong_t in uapi struct ipc64_perm
On Wed, Dec 25, 2013 at 07:45:41AM -0800, H.J. Lu wrote:
> 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.
>
Here is the updated patch which uses __kernel_ulong_t only if
__BITS_PER_LONG == 64.
H.J.
View attachment "0003-Use-__kernel_ulong_t-in-uapi-struct-ipc64_perm.patch" of type "text/plain" (1151 bytes)
Powered by blists - more mailing lists