Commit 4a2378a9 authored by Greg Hackmann's avatar Greg Hackmann Committed by John Stultz

timerfd: support CLOCK_BOOTTIME clock

Add CLOCK_BOOTTIME support to timerfd
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 03d11a0e
...@@ -317,6 +317,7 @@ SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags) ...@@ -317,6 +317,7 @@ SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags)
(clockid != CLOCK_MONOTONIC && (clockid != CLOCK_MONOTONIC &&
clockid != CLOCK_REALTIME && clockid != CLOCK_REALTIME &&
clockid != CLOCK_REALTIME_ALARM && clockid != CLOCK_REALTIME_ALARM &&
clockid != CLOCK_BOOTTIME &&
clockid != CLOCK_BOOTTIME_ALARM)) clockid != CLOCK_BOOTTIME_ALARM))
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment