Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751955Ab1ELS4S (ORCPT ); Thu, 12 May 2011 14:56:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62047 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775Ab1ELS4R (ORCPT ); Thu, 12 May 2011 14:56:17 -0400 Date: Thu, 12 May 2011 20:54:34 +0200 From: Oleg Nesterov To: Mike Frysinger Cc: Linus Torvalds , Andrew Morton , Tejun Heo , "Nikita V. Youshchenko" , Matt Fleming , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/6] signal: introduce do_sigtimedwait() to factor out compat/native code Message-ID: <20110512185434.GA27589@redhat.com> References: <20110418134421.GA15951@redhat.com> <20110418173224.GA27918@redhat.com> <20110423175901.GA484@redhat.com> <20110426194822.GA8520@redhat.com> <20110426194904.GC8520@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1288 Lines: 29 On 05/11, Mike Frysinger wrote: > > On Tue, Apr 26, 2011 at 15:49, Oleg Nesterov wrote: > > --- sigprocmask/include/linux/signal.h~2_do_sigtimedwait ? ? ? ?2011-04-26 19:52:30.000000000 +0200 > > +++ sigprocmask/include/linux/signal.h ?2011-04-26 19:53:42.000000000 +0200 > > @@ -242,6 +242,8 @@ extern int __group_send_sig_info(int, st > > ?extern long do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? siginfo_t *info); > > ?extern long do_sigpending(void __user *, unsigned long); > > +extern int do_sigtimedwait(const sigset_t *, siginfo_t *, > > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? const struct timespec *); > > ?extern int sigprocmask(int, sigset_t *, sigset_t *); > > ?extern void set_current_blocked(const sigset_t *); > > ?extern int show_unhandled_signals; > > this causes a build warning: > In file included from arch/blackfin/kernel/signal.c:8: > include/linux/signal.h:246: warning: 'struct timespec' declared inside > parameter list Oh, thanks Mike. I'll send the simple fix tomorrow. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/