[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131226155123.GE23355@gmail.com>
Date: Thu, 26 Dec 2013 07:51:23 -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_long_t in struct msgbuf
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.
H.J.
View attachment "0004-Use-__kernel_long_t-in-struct-msgbuf.patch" of type "text/plain" (1216 bytes)
Powered by blists - more mailing lists