diff options
author | Greg Hackmann <ghackmann@google.com> | 2014-01-08 18:57:03 (GMT) |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-01-24 00:57:40 (GMT) |
commit | 4a2378a943f09907fb1ae35c15de917f60289c14 (patch) | |
tree | 704f487528b94f68f8171a0ca279c627ef9564ab | |
parent | 03d11a0e458d7008192585124e4c3313c2829046 (diff) | |
download | linux-4a2378a943f09907fb1ae35c15de917f60289c14.tar.xz |
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>
-rw-r--r-- | fs/timerfd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |