Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS

From: Kyle McMartin
Date: Tue Apr 22 2008 - 11:21:34 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/