Re: [patch 1/3] epoll cleanups - epoll include diet ...

From: Davide Libenzi
Date: Fri Apr 06 2007 - 14:27:24 EST


On Thu, 5 Apr 2007, Andrew Morton wrote:

> On Thu, 5 Apr 2007 18:12:58 -0700 (PDT)
> Davide Libenzi <davidel@xxxxxxxxxxxxxxx> wrote:
>
> > On Thu, 5 Apr 2007, Andrew Morton wrote:
> >
> > > epoll uses signal stuff and might need signal.h. It implements syscalls
> > > and it certainly needs to have those syscall's prototypes in scope. It
> > > surely uses stuff from mm.h (doesn't everything??)
> >
> > Ack about signal.h, I forgot about the pwait code :(
> > Why syscalls.h? The eventpoll.c file expots syscalls, but it doesn't use
> > anything declared in there.
>
> So that the compiler can verify that our declarations of sys_epoll_foo()
> match our definitions of them.

Right. Just drop that patch then.



- Davide


-
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/