From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933058AbYGQVoD (ORCPT ); Thu, 17 Jul 2008 17:44:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760543AbYGQVns (ORCPT ); Thu, 17 Jul 2008 17:43:48 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:60222 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760490AbYGQVnr (ORCPT ); Thu, 17 Jul 2008 17:43:47 -0400 Date: Thu, 17 Jul 2008 14:42:37 -0700 From: Andrew Morton To: Alexey Dobriyan Cc: anemo@mba.ocn.ne.jp, linux-kernel@vger.kernel.org, davidel@xmailserver.org, stable@kernel.org Subject: Re: [PATCH] Fix build on COMPAT platforms when CONFIG_EPOLL is disabled. Message-Id: <20080717144237.f31618ca.akpm@linux-foundation.org> In-Reply-To: <20080717212939.GA9945@martell.zuzino.mipt.ru> References: <20080718.003108.128619119.anemo@mba.ocn.ne.jp> <20080717142314.1aeb2f58.akpm@linux-foundation.org> <20080717212939.GA9945@martell.zuzino.mipt.ru> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Jul 2008 01:29:39 +0400 Alexey Dobriyan wrote: > 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 wrote: > > > > > Add missing cond_syscall() entry for compat_sys_epoll_pwait. > > > > > > Signed-off-by: Atsushi Nemoto > > > --- > > > 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. Well it _did_ do this. But I fixed about four such build errors. Please check?