From: Greg Hackmann Date: Fri, 13 Dec 2013 21:02:31 +0000 (-0800) Subject: timerfd: support CLOCK_BOOTTIME clock X-Git-Tag: firefly_0821_release~4090^2~432 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a8694287f5cbd0585ac653924a4459d3f1aa5b29;p=firefly-linux-kernel-4.4.55.git timerfd: support CLOCK_BOOTTIME clock Add CLOCK_BOOTTIME support to timerfd Change-Id: I14dee6d1104f15a05f463a632268ac4564753faf Signed-off-by: Greg Hackmann --- 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;