Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234598
b: refs/heads/master
c: 79c9da0
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Feb 2, 2011
1 parent a14863d commit de3f2d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d608c18203a969e5d14572a9861c646d0bb66872
refs/heads/master: 79c9da0d0539fb341a1b48a2a5a23d974726de90
11 changes: 0 additions & 11 deletions trunk/kernel/posix-cpu-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1586,15 +1586,6 @@ static int thread_cpu_timer_create(struct k_itimer *timer)
timer->it_clock = THREAD_CLOCK;
return posix_cpu_timer_create(timer);
}
static int thread_cpu_nsleep(const clockid_t which_clock, int flags,
struct timespec *rqtp, struct timespec __user *rmtp)
{
return -EINVAL;
}
static long thread_cpu_nsleep_restart(struct restart_block *restart_block)
{
return -EINVAL;
}

struct k_clock clock_posix_cpu = {
.clock_getres = posix_cpu_clock_getres,
Expand Down Expand Up @@ -1623,8 +1614,6 @@ static __init int init_posix_cpu_timers(void)
.clock_get = thread_cpu_clock_get,
.clock_set = do_posix_clock_nosettime,
.timer_create = thread_cpu_timer_create,
.nsleep = thread_cpu_nsleep,
.nsleep_restart = thread_cpu_nsleep_restart,
};
struct timespec ts;

Expand Down

0 comments on commit de3f2d8

Please sign in to comment.