From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 08/10] Use __kernel_ulong_t in struct msqid64_ds Date: Sat, 19 May 2012 19:08:34 -0700 Message-ID: <4FB85222.9040909@kernel.org> References: <1337292816-10839-1-git-send-email-hjl.tools@gmail.com> <201205182121.02706.arnd@arndb.de> <4FB83123.3020402@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "H.J. Lu" Cc: "H. Peter Anvin" , Arnd Bergmann , Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, tglx@linutronix.de, Paul Mundt , David Howells List-Id: linux-arch.vger.kernel.org On 05/19/2012 06:32 PM, H.J. Lu wrote: > > If __BITS_PER_LONG is set to 32 for x32, we need to audit all > exported kernel headers where __BITS_PER_LONG is checked. > If long is used in those places, it has to be updated for x32. > I think we have to do that anyway. -hpa From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from terminus.zytor.com ([198.137.202.10]:56680 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754285Ab2ETCJE (ORCPT ); Sat, 19 May 2012 22:09:04 -0400 Message-ID: <4FB85222.9040909@kernel.org> Date: Sat, 19 May 2012 19:08:34 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH 08/10] Use __kernel_ulong_t in struct msqid64_ds References: <1337292816-10839-1-git-send-email-hjl.tools@gmail.com> <201205182121.02706.arnd@arndb.de> <4FB83123.3020402@zytor.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: "H.J. Lu" Cc: "H. Peter Anvin" , Arnd Bergmann , Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, tglx@linutronix.de, Paul Mundt , David Howells Message-ID: <20120520020834.qynCGO9LxNfrVD44vkNrCexG3t_fBygjq56z1g3Lzk8@z> On 05/19/2012 06:32 PM, H.J. Lu wrote: > > If __BITS_PER_LONG is set to 32 for x32, we need to audit all > exported kernel headers where __BITS_PER_LONG is checked. > If long is used in those places, it has to be updated for x32. > I think we have to do that anyway. -hpa