Re: waitqueue_lock not exported by UP kernels

David S. Miller (davem@dm.cobaltmicro.com)
Sun, 20 Sep 1998 23:35:33 -0700


Date: Mon, 21 Sep 1998 02:49:46 +0300 (EEST)
From: Hannu Savolainen <hannu@opensound.com>

It looks like symbol waitqueue_lock is not exported as a module symbol
when the 2.1.122 kernel is compiled without SMP support. However this
symbol is referenced unconditionally by several inline routines in
<linux/sched.h>.

This prevents some modules (including OSS) from being loaded in UP
compiled systems.

UP and SMP modules cannot be intermixed anyways, the system will
likely crash if a module compiled for one is load into the other.

In fact there should be a special module mechanism for this purpose,
preventing the loading of modules into the wrong kind of kernel (UP
vs. SMP). I thought Alan did something like this already, or did he
make this happen only when module symbol versioning is on?

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/