projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d11a0
)
timerfd: support CLOCK_BOOTTIME clock
author
Greg Hackmann
<ghackmann@google.com>
Wed, 8 Jan 2014 18:57:03 +0000
(10:57 -0800)
committer
John Stultz
<john.stultz@linaro.org>
Fri, 24 Jan 2014 00:57:40 +0000
(16:57 -0800)
Add CLOCK_BOOTTIME support to timerfd
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
fs/timerfd.c
patch
|
blob
|
blame
|
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;