summaryrefslogtreecommitdiffstats
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-01-08 19:57:03 +0100
committerJohn Stultz <john.stultz@linaro.org>2014-01-24 01:57:40 +0100
commit4a2378a943f09907fb1ae35c15de917f60289c14 (patch)
tree704f487528b94f68f8171a0ca279c627ef9564ab /fs/timerfd.c
parentMerge tag 'for-v3.14' of git://git.infradead.org/battery-2.6 (diff)
downloadlinux-4a2378a943f09907fb1ae35c15de917f60289c14.tar.xz
linux-4a2378a943f09907fb1ae35c15de917f60289c14.zip
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)
(clockid != CLOCK_MONOTONIC &&
clockid != CLOCK_REALTIME &&
clockid != CLOCK_REALTIME_ALARM &&
+ clockid != CLOCK_BOOTTIME &&
clockid != CLOCK_BOOTTIME_ALARM))
return -EINVAL;