From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle McMartin Subject: Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS Date: Tue, 22 Apr 2008 11:21:22 -0400 Message-ID: <20080422152122.GF19802@phobos.i.cabal.ca> References: <87a5b0800804220513t75690ceao938a288596b5ad0c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <87a5b0800804220513t75690ceao938a288596b5ad0c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> Sender: linux-arch-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: To: Will Newton Cc: Linux Kernel list , linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Tue, Apr 22, 2008 at 01:13:39PM +0100, Will Newton wrote: > Hi, > > This patch introduces a __ARCH_WANT_SYS_SYSFS #define for > architectures that support the sysfs(2) system call. At the moment > that's everybody but blackfin, but future architectures may want to > save the (admittedly small) code size that it adds to the kernel as > well. > This should (imnsho, at least), 1 - Add a cond_syscall for sys_sysfs to sys_ni.c 2 - Use a CONFIG_EMBEDDED dependent option that defaults on, possibly depend on BLACKFIN if you really want to. Adding this junk to every arch header is, in my opinion, completely unacceptable just because blackfin wants to be different. --Kyle From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 206-248-169-182.dsl.ncf.ca ([206.248.169.182]:48202 "EHLO phobos.cabal.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751652AbYDVPVX (ORCPT ); Tue, 22 Apr 2008 11:21:23 -0400 Date: Tue, 22 Apr 2008 11:21:22 -0400 From: Kyle McMartin Subject: Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS Message-ID: <20080422152122.GF19802@phobos.i.cabal.ca> References: <87a5b0800804220513t75690ceao938a288596b5ad0c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a5b0800804220513t75690ceao938a288596b5ad0c@mail.gmail.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Will Newton Cc: Linux Kernel list , linux-arch@vger.kernel.org Message-ID: <20080422152122.H86E6U6lFE1H94eoGCsEWdNH94aTIkLAlTjylEeTkZw@z> On Tue, Apr 22, 2008 at 01:13:39PM +0100, Will Newton wrote: > Hi, > > This patch introduces a __ARCH_WANT_SYS_SYSFS #define for > architectures that support the sysfs(2) system call. At the moment > that's everybody but blackfin, but future architectures may want to > save the (admittedly small) code size that it adds to the kernel as > well. > This should (imnsho, at least), 1 - Add a cond_syscall for sys_sysfs to sys_ni.c 2 - Use a CONFIG_EMBEDDED dependent option that defaults on, possibly depend on BLACKFIN if you really want to. Adding this junk to every arch header is, in my opinion, completely unacceptable just because blackfin wants to be different. --Kyle