From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Stultz Subject: Re: [PATCH] timerfd: support CLOCK_BOOTTIME clock Date: Wed, 08 Jan 2014 11:07:35 -0800 Message-ID: <52CDA1F7.90606@linaro.org> References: <1389207423-31154-1-git-send-email-ghackmann@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Thomas Gleixner , Alexander Viro , linux-fsdevel@vger.kernel.org To: Greg Hackmann , linux-kernel@vger.kernel.org Return-path: Received: from mail-pa0-f48.google.com ([209.85.220.48]:46890 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757251AbaAHTHj (ORCPT ); Wed, 8 Jan 2014 14:07:39 -0500 Received: by mail-pa0-f48.google.com with SMTP id bj1so2232447pad.35 for ; Wed, 08 Jan 2014 11:07:39 -0800 (PST) In-Reply-To: <1389207423-31154-1-git-send-email-ghackmann@google.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 01/08/2014 10:57 AM, Greg Hackmann wrote: > Add CLOCK_BOOTTIME support to timerfd > > Signed-off-by: Greg Hackmann > --- > fs/timerfd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/timerfd.c b/fs/timerfd.c > index 9293121..0013142 100644 > --- a/fs/timerfd.c > +++ b/fs/timerfd.c > @@ -317,6 +317,7 @@ SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags) > (clockid != CLOCK_MONOTONIC && > clockid != CLOCK_REALTIME && > clockid != CLOCK_REALTIME_ALARM && > + clockid != CLOCK_BOOTTIME && > clockid != CLOCK_BOOTTIME_ALARM)) > return -EINVAL; > Thanks! I've already sent out my 3.14 queue to Thomas, but I'll queue this for 3.15. -john