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 04:34:03PM +0100, Will Newton wrote:
    > On Tue, Apr 22, 2008 at 4:24 PM, Kyle McMartin <kyle@mcmartin.ca> wrote:
    > > On Tue, Apr 22, 2008 at 04:16:17PM +0100, Will Newton wrote:
    > > > It can be done with Kconfig. Whether it should be or not depends on
    > > > your point of view, hence RFC. Currently __ARCH_WANT macros is the way
    > > > syscalls are enabled and disabled across architectures. If there's
    > > > consensus that it should be done via Kconfig that could certainly be
    > > > implmented, but that's a different patch.
    > > >
    > >
    > > It's currently done in unistd.h for hysterical raisins. All new
    > > conditional syscalls have been done in Kconfig.
    >
    > Do you have a syscall in mind that does this in the correct way?
    >

    epoll is the most immediate example at hand, since it touches
    fs/compat.c similarly to how you would be touching fs/filesystem.c, and
    touches kernel/sys_ni.c and init/Kconfig in much the same way.

    > BTW, don't blame the blackfin guys for this, I'm thinking about future
    > architectures that may be added rather than any existing ones. ;-)
    >

    Meh. :)

    cheers, Kyle


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