Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux