diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-06-25 11:57:32 -0400 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-06-25 11:57:32 -0400 |
| commit | bbe5d235ee201705530a7153b57e141cd77d818b (patch) | |
| tree | e98c31b4cb2ced6357a87a02596f9ecdbd6dbb26 /kernel/hrtimer.c | |
| parent | 189acaaef81b1d71aedd0d28810de24160c2e781 (diff) | |
| parent | dfd8317d3340f03bc06eba6b58f0ec0861da4a13 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'kernel/hrtimer.c')
| -rw-r--r-- | kernel/hrtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 01fa2ae98a85..18324305724a 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
| @@ -393,7 +393,7 @@ static void __remove_hrtimer(struct hrtimer *timer, struct hrtimer_base *base) | |||
| 393 | if (base->first == &timer->node) | 393 | if (base->first == &timer->node) |
| 394 | base->first = rb_next(&timer->node); | 394 | base->first = rb_next(&timer->node); |
| 395 | rb_erase(&timer->node, &base->active); | 395 | rb_erase(&timer->node, &base->active); |
| 396 | timer->node.rb_parent = HRTIMER_INACTIVE; | 396 | rb_set_parent(&timer->node, &timer->node); |
| 397 | } | 397 | } |
| 398 | 398 | ||
| 399 | /* | 399 | /* |
| @@ -582,7 +582,7 @@ void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, | |||
| 582 | clock_id = CLOCK_MONOTONIC; | 582 | clock_id = CLOCK_MONOTONIC; |
| 583 | 583 | ||
| 584 | timer->base = &bases[clock_id]; | 584 | timer->base = &bases[clock_id]; |
| 585 | timer->node.rb_parent = HRTIMER_INACTIVE; | 585 | rb_set_parent(&timer->node, &timer->node); |
| 586 | } | 586 | } |
| 587 | EXPORT_SYMBOL_GPL(hrtimer_init); | 587 | EXPORT_SYMBOL_GPL(hrtimer_init); |
| 588 | 588 | ||
