* [PATCH] timerfd: support CLOCK_BOOTTIME clock
@ 2014-01-08 18:57 Greg Hackmann
2014-01-08 19:07 ` John Stultz
0 siblings, 1 reply; 2+ messages in thread
From: Greg Hackmann @ 2014-01-08 18:57 UTC (permalink / raw)
To: linux-kernel
Cc: Thomas Gleixner, Alexander Viro, linux-fsdevel, john.stultz,
Greg Hackmann
Add CLOCK_BOOTTIME support to timerfd
Signed-off-by: Greg Hackmann <ghackmann@google.com>
---
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;
--
1.8.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] timerfd: support CLOCK_BOOTTIME clock
2014-01-08 18:57 [PATCH] timerfd: support CLOCK_BOOTTIME clock Greg Hackmann
@ 2014-01-08 19:07 ` John Stultz
0 siblings, 0 replies; 2+ messages in thread
From: John Stultz @ 2014-01-08 19:07 UTC (permalink / raw)
To: Greg Hackmann, linux-kernel
Cc: Thomas Gleixner, Alexander Viro, linux-fsdevel
On 01/08/2014 10:57 AM, Greg Hackmann wrote:
> Add CLOCK_BOOTTIME support to timerfd
>
> Signed-off-by: Greg Hackmann <ghackmann@google.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-08 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-08 18:57 [PATCH] timerfd: support CLOCK_BOOTTIME clock Greg Hackmann
2014-01-08 19:07 ` John Stultz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).