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

Ingo Molnar (mingo@elte.hu)
Wed, 23 Jan 2002 15:56:14 +0100 (CET)


On Wed, 23 Jan 2002, Zwane Mwaikambo wrote:

> My test box is a single proc machine running an SMP kernel. As of
> 2.5.2-pre2 it panics on boot. The reason is kinda obvious,
> smp_processor_id() will always return the same as global_irq_holder.
> How come we do this check now?

Al found the bug, in smpboot.c:

- global_irq_holder = 0;
+ global_irq_holder = NO_PROC_ID;

does this fix it?

Ingo

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