From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756720AbYDWQFU (ORCPT ); Wed, 23 Apr 2008 12:05:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752640AbYDWQFI (ORCPT ); Wed, 23 Apr 2008 12:05:08 -0400 Received: from rn-out-0910.google.com ([64.233.170.189]:35990 "EHLO rn-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751918AbYDWQFG (ORCPT ); Wed, 23 Apr 2008 12:05:06 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QJWOaq/YARh5fppg1JGvm1LJl0RG6E0sNBzuG9UEOHttU0GM8NKjKKOrdO9a49TWYS89TKjuF5rf9v6zK+f6CZB5d8icppbtX3lcxzR3+gyNNM8KKQjzWJHe9Uh/riLmeka3BVIVzKjSuC1+WaF3cMiwiPBmQQW1Y7TiZ/1oP08= Message-ID: <8bd0f97a0804230905x19fd96aevc8f225d241e59369@mail.gmail.com> Date: Wed, 23 Apr 2008 12:05:02 -0400 From: "Mike Frysinger" To: "Will Newton" Subject: Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS Cc: "Kyle McMartin" , "Randy Dunlap" , "Linux Kernel list" , linux-arch@vger.kernel.org In-Reply-To: <87a5b0800804230850y4d577ff2taf1689f4af26b274@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87a5b0800804220513t75690ceao938a288596b5ad0c@mail.gmail.com> <20080422081211.e85989ec.randy.dunlap@oracle.com> <87a5b0800804220816y72a7f4f9gec2111df08a1a57f@mail.gmail.com> <20080422152426.GG19802@phobos.i.cabal.ca> <87a5b0800804220834q4d6daec1x4146d211115ab5c@mail.gmail.com> <20080422153849.GH19802@phobos.i.cabal.ca> <87a5b0800804230736k340e7fe9mffbd72b5b8164015@mail.gmail.com> <20080423154038.GL19802@phobos.i.cabal.ca> <87a5b0800804230850y4d577ff2taf1689f4af26b274@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 23, 2008 at 11:50 AM, Will Newton wrote: > On Wed, Apr 23, 2008 at 4:40 PM, Kyle McMartin wrote: > > On Wed, Apr 23, 2008 at 03:36:23PM +0100, Will Newton wrote: > > > +config ARCH_HAS_SYS_SYSFS > > > + bool > > > + default y > > > + > > > source "init/Kconfig" > > > > > > > Sorry, I meant something more like > > > > > > config ARCH_HAS_SYS_SYSFS > > def_bool !BLACKFIN > > help > > Obsolete sys_sysfs syscall > > > > in init/Kconfig > > > > But, it's your patch, you can do it however you like. :) > > That's definitely shorter - but it feels a bit more like #ifdef > CONFIG_BLACKFIN which is explicitly what I don't want to do, because > I'm not actually interested in blackfin. ;-) i'd have to agree that updating asm/unistd.h fits better with existing paradigm. if we want to talk about converting *all cases* to Kconfig, we can do it in a separate thread. splitting the design between two different files is simply confusing to everyone involved as they spend their time going "well which way am *i* supposed to do it". -mike