From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:11981 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S964837AbWJIUhN (ORCPT ); Mon, 9 Oct 2006 16:37:13 -0400 From: Andreas Schwab Subject: Re: [PATCH 1/4] LOG2: Implement a general integer log2 facility in the kernel [try #4] References: <20061006133414.9972.79007.stgit@warthog.cambridge.redhat.com> <20061006203919.GS2563@parisc-linux.org> <5267.1160381168@redhat.com> <11639.1160398461@redhat.com> Date: Mon, 09 Oct 2006 22:36:47 +0200 In-Reply-To: (Jan Engelhardt's message of "Mon, 9 Oct 2006 22:00:38 +0200 (MEST)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-arch-owner@vger.kernel.org To: Jan Engelhardt Cc: David Howells , Kyle Moffett , Matthew Wilcox , torvalds@osdl.org, akpm@osdl.org, sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org List-ID: Jan Engelhardt writes: >>> typedef uint32_t __u32; >> >>That only offsets the problem a bit. You still have to derive uint32_t from >>somewhere. > > The compiler could make it available as a 'fundamental type' - i.e. > available without any headers, like 'int' and 'long'. The compiler is not allowed to define uint32_t without including first. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."