From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH] Re: Sparc32: random invalid instruction occourances on sparc32 (sun4c) From: David Woodhouse In-Reply-To: References: <468A7D14.1050505@googlemail.com> <1183490778.29081.35.camel@shinybook.infradead.org> <1183499781.29081.46.camel@shinybook.infradead.org> <1183505787.29081.62.camel@shinybook.infradead.org> <1183520006.29081.79.camel@shinybook.infradead.org> Content-Type: text/plain Date: Wed, 04 Jul 2007 10:46:03 -0400 Message-Id: <1183560364.29081.106.camel@shinybook.infradead.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Mark Fortescue Cc: linux-mm@kvack.org, Andrew Morton , LKML , sparclinux@vger.kernel.org, David Miller , Christoph Lameter , William Lee Irwin III List-ID: On Wed, 2007-07-04 at 11:27 +0100, Mark Fortescue wrote: > Another related point that may also need to be considered is that I think > I am correct in saying that on ARM and on the 64bit platforms, sizeof > (unsigned long long) is 16 (128bits). No, it's always 64 bits. > Should the RedZone words be specified as __u64 not the unsigned long long > used or does the alignment need to be that of unsigned long long ? You have to play silly buggers with printk formats (%lx vs. %llx) if you do that. And you have to make a choice about using proper C types or the Linux-specific nonsense. 'unsigned long long' is just easier all round. -- dwmw2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org