aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-12-13 13:02:31 -0800
committerJohn Stultz <john.stultz@linaro.org>2013-12-13 23:04:58 +0000
commita8694287f5cbd0585ac653924a4459d3f1aa5b29 (patch)
tree2d5b4a9ad1e13dc9aeea480af2b221ff345f2cec /fs
parente89d9fc608d3c8a1cf21174a713d2ff7e88e7e00 (diff)
timerfd: support CLOCK_BOOTTIME clock
Add CLOCK_BOOTTIME support to timerfd Change-Id: I14dee6d1104f15a05f463a632268ac4564753faf Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/timerfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/timerfd.c b/fs/timerfd.c
index 929312180dd..0013142c047 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;