diff options
| author | 2008-12-24 11:04:08 +0100 | |
|---|---|---|
| committer | 2008-12-24 11:04:08 +0100 | |
| commit | 7645c4bfbb36f357f03815f5729c46ce8d89f008 (patch) | |
| tree | eb2c45bbdfc715a9a6e96e6af9675a0440ef8ff1 /kernel | |
| parent | ALSA: hda: fix incorrect mixer index values for 92hd83xx (diff) | |
| parent | ALSA: hda - Add missing terminators in patch_sigmatel.c (diff) | |
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/posix-timers.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c index 5e79c662294b..a140e44eebba 100644 --- a/kernel/posix-timers.c +++ b/kernel/posix-timers.c @@ -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. */ @@ -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); |
