Re: [PATCH] 2.5.4 PREEMPT on UP x86 breakage

Robert Love (rml@tech9.net)
11 Feb 2002 15:10:33 -0500


On Mon, 2002-02-11 at 12:44, Mikael Pettersson wrote:
> In 2.5.4, CONFIG_PREEMPT breaks UP x86 kernels by triggering
> the BUG in release_kernel_lock(), kernel/sched.c, line 664.
> The patch below fixed it for me. It's a bit crude, but smp.h
> doesn't export the #define if CONFIG_SMP is disabled.

This is indeed a proper change. Thank you,

Robert Love

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