mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
timerfd: support CLOCK_BOOTTIME clock
Add CLOCK_BOOTTIME support to timerfd Signed-off-by: Greg Hackmann <ghackmann@google.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
03d11a0e45
commit
4a2378a943
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user