lkml.org 
[lkml]   [2004]   [Apr]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromAivils <>
Subjectkernel/softirq.c issues under 2.6.5
DateTue, 20 Apr 2004 10:58:12 +0300
Hi all!

	My 2.6.5 will not start until i applay patch bellow:
--- linux-2.6.5/kernel/softirq.c        2004-04-04 06:36:47.000000000 +0300
+++ linux-2.6.5/kernel/softirq.chg.c    2004-04-20 10:48:28.000000000 +0300
@@ -409,8 +409,8 @@ static int __devinit cpu_callback(struct

        switch (action) {
        case CPU_UP_PREPARE:
-               BUG_ON(per_cpu(tasklet_vec, hotcpu).list);
-               BUG_ON(per_cpu(tasklet_hi_vec, hotcpu).list);
+               per_cpu(tasklet_vec, cpu).list = NULL;
+               per_cpu(tasklet_hi_vec, cpu).list = NULL;
                p = kthread_create(ksoftirqd, hcpu, "ksoftirqd/%d", hotcpu);
                if (IS_ERR(p)) {
                        printk("ksoftirqd for %i failed\n", hotcpu);
What mean that? Mr. akpm will check out how good is our c compilers?

Aivils Stoss
-
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-03-22 13:02    [W:0.216 / U:0.000 seconds]
©2003-2008 Jasper Spaans