Messages in this thread Patch in this message | | | Subject | [PATCH RT] add set_curr_timer to high_res run_queue | From | Steven Rostedt <> | Date | Tue, 24 Jan 2006 09:05:26 -0500 |
| |
Ingo,
Here's the cause of my crash.
-- Steve
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.15-rt12/kernel/hrtimer.c =================================================================== --- linux-2.6.15-rt12.orig/kernel/hrtimer.c 2006-01-23 14:00:27.000000000 -0500 +++ linux-2.6.15-rt12/kernel/hrtimer.c 2006-01-24 08:53:44.000000000 -0500 @@ -877,6 +877,7 @@ timer = list_entry(base->expired.next, struct hrtimer, list); fn = timer->function; data = timer->data; + set_curr_timer(base, timer); timer->state = HRTIMER_RUNNING; list_del(&timer->list); spin_unlock_irq(&base->lock); @@ -902,6 +903,7 @@ else timer->state = HRTIMER_EXPIRED; } + set_curr_timer(base, NULL); spin_unlock_irq(&base->lock); wake_up_timer_waiters(base);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |