Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965148AbWJJJwg (ORCPT ); Tue, 10 Oct 2006 05:52:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965147AbWJJJwg (ORCPT ); Tue, 10 Oct 2006 05:52:36 -0400 Received: from mailer.gwdg.de ([134.76.10.26]:39357 "EHLO mailer.gwdg.de") by vger.kernel.org with ESMTP id S965145AbWJJJwe (ORCPT ); Tue, 10 Oct 2006 05:52:34 -0400 Date: Tue, 10 Oct 2006 11:41:15 +0200 (MEST) From: Jan Engelhardt To: Andreas Schwab 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] In-Reply-To: Message-ID: References: <20061006133414.9972.79007.stgit@warthog.cambridge.redhat.com> <20061006203919.GS2563@parisc-linux.org> <5267.1160381168@redhat.com> <11639.1160398461@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 24 >>>> 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. Well no problem, stdint.h may just have typedef __secret_compiler_provided_uint32_t uint32_t; -`J' -- - 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/