Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965087AbWJJHzt (ORCPT ); Tue, 10 Oct 2006 03:55:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965086AbWJJHzt (ORCPT ); Tue, 10 Oct 2006 03:55:49 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:17546 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S965084AbWJJHzs (ORCPT ); Tue, 10 Oct 2006 03:55:48 -0400 Subject: Re: [PATCH 1/4] LOG2: Implement a general integer log2 facility in the kernel [try #4] From: David Woodhouse To: Arnd Bergmann Cc: Geert Uytterhoeven , Jan Engelhardt , Kyle Moffett , David Howells , Matthew Wilcox , Linus Torvalds , Andrew Morton , sfr@canb.auug.org.au, Linux Kernel Development , linux-arch@vger.kernel.org In-Reply-To: <200610091847.05441.arnd.bergmann@de.ibm.com> References: <200610091727.34780.arnd.bergmann@de.ibm.com> <200610091847.05441.arnd.bergmann@de.ibm.com> Content-Type: text/plain Date: Tue, 10 Oct 2006 08:55:33 +0100 Message-Id: <1160466933.7920.25.camel@pmac.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-7.fc6.dwmw2.2) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 23 On Mon, 2006-10-09 at 18:47 +0200, Arnd Bergmann wrote: > That has the potential of breaking other source files that don't expect > linux/types.h to bring in the whole stdint.h file. I don't think we need to care about those. Userspace in _general_ shouldn't be including our header files -- this is only for low-level system stuff, and that can be expected to deal with the fact that we define and use some standard C types from last century. > Also, it may break some other linux header files that include > and expect to get stuff like uid_t, which you don't get if a glibc header is > included first, because of __KERNEL_STRICT_NAMES. We have that problem already, don't we? -- dwmw2 - 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/