add set_curr_timer to high_res run_queue
PATCH 1/1 add set_curr_timer to high_res run_queue
Ingo,
Here's the cause of my crash.
-- Steve
Signed-off-by Steven Rostedt <[email protected]>
kernel/hrtimer.c +2 -0
@@ -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);