Messages in this thread | | | Date | Tue, 22 Apr 2008 11:21:22 -0400 | From | Kyle McMartin <> | 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
| |