[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080422152122.GF19802@phobos.i.cabal.ca>
Date: Tue, 22 Apr 2008 11:21:22 -0400
From: Kyle McMartin <kyle@...artin.ca>
To: Will Newton <will.newton@...il.com>
Cc: Linux Kernel list <linux-kernel@...r.kernel.org>,
linux-arch@...r.kernel.org
Subject: Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists