Skip to content

Commit

Permalink
timerfd: support CLOCK_BOOTTIME clock
Browse files Browse the repository at this point in the history
Add CLOCK_BOOTTIME support to timerfd

Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
  • Loading branch information
greghackmann authored and johnstultz-work committed Jan 24, 2014
1 parent 03d11a0 commit 4a2378a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/timerfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4a2378a

Please sign in to comment.