Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120003
b: refs/heads/master
c: 3d44cc3
h: refs/heads/master
i:
  120001: e32358f
  119999: 161b27b
v: v3
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Dec 20, 2008
1 parent 2d96bfd commit a4e23b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab65387243f47a7bc11725f733c86bf27248b326
refs/heads/master: 3d44cc3e01ee1b40317f79ed54324e25c4f848df
6 changes: 6 additions & 0 deletions trunk/kernel/posix-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ static int common_timer_create(struct k_itimer *new_timer)
return 0;
}

static int no_timer_create(struct k_itimer *new_timer)
{
return -EOPNOTSUPP;
}

/*
* Return nonzero if we know a priori this clockid_t value is bogus.
*/
Expand Down Expand Up @@ -248,6 +253,7 @@ static __init int init_posix_timers(void)
.clock_getres = hrtimer_get_res,
.clock_get = posix_get_monotonic_raw,
.clock_set = do_posix_clock_nosettime,
.timer_create = no_timer_create,
};

register_posix_clock(CLOCK_REALTIME, &clock_realtime);
Expand Down

0 comments on commit a4e23b5

Please sign in to comment.