lkml.org 
[lkml]   [2006]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH RT] add set_curr_timer to high_res run_queue
From
Date
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/

\
 
 \ /
  Last update: 2006-01-24 15:08    [W:0.033 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site