Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754395AbYLSIJP (ORCPT ); Fri, 19 Dec 2008 03:09:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752710AbYLSII7 (ORCPT ); Fri, 19 Dec 2008 03:08:59 -0500 Received: from casper.infradead.org ([85.118.1.10]:49429 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752772AbYLSII6 (ORCPT ); Fri, 19 Dec 2008 03:08:58 -0500 Date: Fri, 19 Dec 2008 09:08:56 +0100 From: Arjan van de Ven To: Linus Torvalds Cc: Harvey Harrison , Andrew Morton , bluebird@gentoo.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller Subject: Re: [PATCH-2.6.28 final] byteorder: fix new headers for userspace Message-ID: <20081219090856.48666b14@infradead.org> In-Reply-To: References: <4943DAD6.7070402@gentoo.org> <20081216.011334.124918024.davem@davemloft.net> <1229564779.6481.26.camel@brick> Organization: Intel X-Mailer: Claws Mail 3.6.0 (GTK+ 2.14.4; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 31 On Thu, 18 Dec 2008 12:47:28 -0800 (PST) Linus Torvalds wrote: > > > On Thu, 18 Dec 2008, Linus Torvalds wrote: > > > > I think it would be better to just make it a config option, call it > > CONFIG_[LITTLE|BIG]_ENDIAN and set it up in the architecture > > Kconfig file. I think some of the people who can set it dynamically > > (or where it depends on the target machine) already effectively do > > that. > > Never mind, since we end up having to export it to user space (do > we?) we can't depend on the config.h file, nor can we pollute the > name space. > why are we exposing byte order functions to userspace in the first place ???? -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/