lkml.org 
[lkml]   [2008]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix build on COMPAT platforms when CONFIG_EPOLL is disabled.
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@mba.ocn.ne.jp> wrote:
>
> > Add missing cond_syscall() entry for compat_sys_epoll_pwait.
> >
> > Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
> > ---
> > 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.



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