Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759212AbXF1ETj (ORCPT ); Thu, 28 Jun 2007 00:19:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751645AbXF1ETb (ORCPT ); Thu, 28 Jun 2007 00:19:31 -0400 Received: from terminus.zytor.com ([192.83.249.54]:49863 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbXF1ETa (ORCPT ); Thu, 28 Jun 2007 00:19:30 -0400 Message-ID: <46833311.4000209@zytor.com> Date: Thu, 28 Jun 2007 00:03:29 -0400 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: Kyle Moffett CC: Adrian Bunk , LKML Kernel , David Woodhouse , david@lang.hm, linux-arch@vger.kernel.org Subject: Re: Userspace compiler support of "long long" References: <467afc63.OnsqEXOk5zqMYzym%Joerg.Schilling@fokus.fraunhofer.de> <467b0bf2.Xfs7T8Ys4nY9ZNLW%Joerg.Schilling@fokus.fraunhofer.de> <1182483527.10524.31.camel@shinybook.infradead.org> <20070622150038.GN23017@stusta.de> <20070627154046.GN1094@stusta.de> <468287a8.spBb6PdAZ4QV0j2Y%Joerg.Schilling@fokus.fraunhofer.de> <20070627173240.GR1094@stusta.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 21 Kyle Moffett wrote: >> > The only trick is if you care about building 32-bit compat code using > 64-bit linux kernel headers. In that case we should probably just make > all archs use "long long" for their 64-bit integers, unless there's some > platform I'm not remembering where "long long" is 128-bits or bigger. > The other benefit is that people could then just use the printf format > "%llu" for 64-bit integers instead of having to conditionalize it all > over the place. > No, you really don't want to do that, because then u64 != uint64_t on those platforms. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/