lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: 2.6.13-rt14 fails to build (smp)
From
Date
On Mon, 2005-09-19 at 18:05 -0700, Fernando Lopez-Lezcano wrote:
> Hi Ingo, just hit this problem trying to build rt14, this is on the SMP
> build, with
> # CONFIG_HIGH_RES_TIMERS is not set
> Find the .config I used attached...
>
> kernel/ktimers.c: In function 'migrate_ktimer_list':

Uuurg. HOTPLUG_CPU

tglx

Index: linux-2.6.13-rt12/kernel/ktimers.c
===================================================================
--- linux-2.6.13-rt12.orig/kernel/ktimers.c
+++ linux-2.6.13-rt12/kernel/ktimers.c
@@ -865,11 +865,11 @@ static void migrate_ktimer_list(struct k
struct ktimer *timer;
struct rb_node *node;

- while ((node = rb_first(&old_base->root))) {
- timer = rb_entry(node, struct ktimer, tnode);
+ while ((node = rb_first(&old_base->active))) {
+ timer = rb_entry(node, struct ktimer, node);
remove_ktimer(timer, old_base);
timer->base = new_base;
- enqueue_ktimer(timer, new_base, NULL);
+ enqueue_ktimer(timer, new_base, NULL, KTIMER_RESTART);
}
}


-
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: 2005-09-20 12:05    [W:0.016 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site