projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89d9fc
)
timerfd: support CLOCK_BOOTTIME clock
author
Greg Hackmann
<ghackmann@google.com>
Fri, 13 Dec 2013 21:02:31 +0000
(13:02 -0800)
committer
John Stultz
<john.stultz@linaro.org>
Fri, 13 Dec 2013 23:04:58 +0000
(23:04 +0000)
Add CLOCK_BOOTTIME support to timerfd
Change-Id: I14dee6d1104f15a05f463a632268ac4564753faf
Signed-off-by: Greg Hackmann <ghackmann@google.com>
fs/timerfd.c
patch
|
blob
|
history
diff --git
a/fs/timerfd.c
b/fs/timerfd.c
index 929312180dd00c39e48de0a4df37a796b326be35..0013142c04759b527485f2abde83c084e17a7f8f 100644
(file)
--- 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;