提交 4a2378a9 编写于 作者: G Greg Hackmann 提交者: John Stultz

timerfd: support CLOCK_BOOTTIME clock

Add CLOCK_BOOTTIME support to timerfd
Signed-off-by: NGreg Hackmann <ghackmann@google.com>
Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
上级 03d11a0e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册