lkml.org 
[lkml]   [2008]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-22 17:23    [W:0.135 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site