lkml.org 
[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: waitqueue_lock not exported by UP kernels
   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/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.034 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site