Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964840AbWJIUhP (ORCPT ); Mon, 9 Oct 2006 16:37:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964839AbWJIUhP (ORCPT ); Mon, 9 Oct 2006 16:37:15 -0400 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 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 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> X-Yow: Where's SANDY DUNCAN? 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: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 25 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." - 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/