Re: [BUG] Panic in 2.5.4 during bootup after POSIX conformance testing by UNIFIX

Alessandro Suardi (alessandro.suardi@oracle.com)
Tue, 12 Feb 2002 01:13:20 +0100


Robert Love wrote:
> Can both of you try the attached patch (thanks to Mikael Pettersson),
> and tell me if it solves your problem?

Yup, it does :)

Now I'm only IrDA and sound disabled - which isn't bad, since at least
the streak of 5 kernels in a row either not compiling or oopsing on
boot (my longest _ever_) has been interrupted ;)

>
> --- linux-2.5.4/include/asm-i386/smplock.h.~1~ Mon Feb 11 12:21:46 2002
> +++ linux-2.5.4/include/asm-i386/smplock.h Mon Feb 11 16:55:18 2002
> @@ -15,7 +15,7 @@
> #else
> #ifdef CONFIG_PREEMPT
> #define kernel_locked() preempt_get_count()
> -#define global_irq_holder 0
> +#define global_irq_holder 0xFF /* XXX: NO_PROC_ID */
> #else
> #define kernel_locked() 1
> #endif

--alessandro

"If your heart is a flame burning brightly
you'll have light and you'll never be cold
And soon you will know that you just grow / You're not growing old"
(Husker Du, "Flexible Flyer")

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