diff options
author | Greg Hackmann <ghackmann@google.com> | 2014-01-08 10:57:03 -0800 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-01-23 16:57:40 -0800 |
commit | 4a2378a943f09907fb1ae35c15de917f60289c14 (patch) | |
tree | 704f487528b94f68f8171a0ca279c627ef9564ab /fs/timerfd.c | |
parent | 03d11a0e458d7008192585124e4c3313c2829046 (diff) | |
download | linux-4a2378a943f09907fb1ae35c15de917f60289c14.tar.bz2 |
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>
Diffstat (limited to 'fs/timerfd.c')
-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 929312180dd0..0013142c0475 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; |