Skip to content

Commit

Permalink
timerfd: support CLOCK_BOOTTIME clock
Browse files Browse the repository at this point in the history
Add CLOCK_BOOTTIME support to timerfd

Change-Id: I14dee6d1104f15a05f463a632268ac4564753faf
Signed-off-by: Greg Hackmann <[email protected]>
Git-commit: a8694287f5cbd0585ac653924a4459d3f1aa5b29
Git-Repo: https://android.googlesource.com/kernel/common.git
Signed-off-by: Ian Maund <[email protected]>
  • Loading branch information
greghackmann authored and kholk committed Jan 29, 2015
1 parent 2f1f15e commit e9e75e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/timerfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e9e75e0

Please sign in to comment.