Re: 2.5.2-pre2-3 SMP broken on UP boxen

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Wed Jan 23 2002 - 07:28:54 EST


On Wed, 23 Jan 2002, Zwane Mwaikambo wrote:

> Al Viro just asked me to try something, patch coming in...

Here's Al's suggestion, unfortunately the box is at home so i can't test
it right now.

Cheers,
        Zwane Mwaikambo

--- linux-2.5.3-pre3/arch/i386/kernel/smpboot.c.orig Wed Jan 23 14:23:49 2002
+++ linux-2.5.3-pre3/arch/i386/kernel/smpboot.c Wed Jan 23 14:24:33 2002
@@ -1018,7 +1018,7 @@
         boot_cpu_logical_apicid = logical_smp_processor_id();
         map_cpu_to_boot_apicid(0, boot_cpu_apicid);
 
- global_irq_holder = 0;
+ global_irq_holder = NO_PROC_ID;
         current->cpu = 0;
         smp_tune_scheduling();
 

-
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/



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:03 EST