aboutsummaryrefslogtreecommitdiffstats
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-01-08 13:57:03 -0500
committerJohn Stultz <john.stultz@linaro.org>2014-01-23 19:57:40 -0500
commit4a2378a943f09907fb1ae35c15de917f60289c14 (patch)
tree704f487528b94f68f8171a0ca279c627ef9564ab /fs/timerfd.c
parent03d11a0e458d7008192585124e4c3313c2829046 (diff)
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.c1
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)
317 (clockid != CLOCK_MONOTONIC && 317 (clockid != CLOCK_MONOTONIC &&
318 clockid != CLOCK_REALTIME && 318 clockid != CLOCK_REALTIME &&
319 clockid != CLOCK_REALTIME_ALARM && 319 clockid != CLOCK_REALTIME_ALARM &&
320 clockid != CLOCK_BOOTTIME &&
320 clockid != CLOCK_BOOTTIME_ALARM)) 321 clockid != CLOCK_BOOTTIME_ALARM))
321 return -EINVAL; 322 return -EINVAL;
322 323