Re: [PATCH] Fix build on COMPAT platforms when CONFIG_EPOLL isdisabled.
From: Alexey Dobriyan
Date: Thu Jul 17 2008 - 17:32:37 EST
On Thu, Jul 17, 2008 at 02:23:14PM -0700, Andrew Morton wrote:
> On Fri, 18 Jul 2008 00:31:08 +0900 (JST)
> Atsushi Nemoto <anemo@xxxxxxxxxxxxx> wrote:
>
> > Add missing cond_syscall() entry for compat_sys_epoll_pwait.
> >
> > Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
> > ---
> > diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
> > index 5b9b467..0fea0ee 100644
> > --- a/kernel/sys_ni.c
> > +++ b/kernel/sys_ni.c
> > @@ -59,6 +59,7 @@ cond_syscall(sys_epoll_create);
> > cond_syscall(sys_epoll_ctl);
> > cond_syscall(sys_epoll_wait);
> > cond_syscall(sys_epoll_pwait);
> > +cond_syscall(compat_sys_epoll_pwait);
> > cond_syscall(sys_semget);
> > cond_syscall(sys_semop);
> > cond_syscall(sys_semtimedop);
>
> Interesting. It appears that both 2.6.25.x and 2.6.26.x need this
> fix as well.
IIRC, this happens for other syscalls as well. IIRC, timerfd ones.
--
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/