From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753020AbYLRUyU (ORCPT ); Thu, 18 Dec 2008 15:54:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752066AbYLRUx7 (ORCPT ); Thu, 18 Dec 2008 15:53:59 -0500 Received: from wf-out-1314.google.com ([209.85.200.173]:37360 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751949AbYLRUx6 (ORCPT ); Thu, 18 Dec 2008 15:53:58 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=tJGM8TKaM78jVxY2KIqkIdO28iCiJcpO3Go9+ThJ7GkBQn+vvxFDJbnTHgGOHvkymZ P6lNRUxK/E02VgSuPMNU8CtNDl5JWdxwK10t18wGLStlbTo4Q2MWVDNzJg/8lDMLTUL/ NDATieTfW+GHPjX4tWdpbjpS+UZUbTxDTS7Qk= Subject: Re: [PATCH-2.6.28 final] byteorder: fix new headers for userspace From: Harvey Harrison To: Linus Torvalds Cc: Andrew Morton , bluebird@gentoo.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller In-Reply-To: References: <4943DAD6.7070402@gentoo.org> <20081216.011334.124918024.davem@davemloft.net> <1229564779.6481.26.camel@brick> Content-Type: text/plain Date: Thu, 18 Dec 2008 12:53:55 -0800 Message-Id: <1229633635.6481.31.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2008-12-18 at 12:47 -0800, 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. > > Oh well. I'm still having a bit of a think on this if we can avoid it. But I think we're stuck with needing a different symbol. :-/ Harvey From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harvey Harrison Date: Thu, 18 Dec 2008 20:53:55 +0000 Subject: Re: [PATCH-2.6.28 final] byteorder: fix new headers for userspace Message-Id: <1229633635.6481.31.camel@brick> List-Id: References: <4943DAD6.7070402@gentoo.org> <20081216.011334.124918024.davem@davemloft.net> <1229564779.6481.26.camel@brick> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linus Torvalds Cc: Andrew Morton , bluebird@gentoo.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller On Thu, 2008-12-18 at 12:47 -0800, 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. > > Oh well. I'm still having a bit of a think on this if we can avoid it. But I think we're stuck with needing a different symbol. :-/ Harvey