summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-11-07 04:34:02 +0000
committerpeter <peter@FreeBSD.org>1998-11-07 04:34:02 +0000
commitddb90f5ce0eee8c67af7fd6dd4b1e2523843f7dd (patch)
tree2560b1a309d1a845afb3eb190d6ca2aa0ead2b58 /sys
parent28962a6fad21aca903e88d1b3590eff50c4e1d16 (diff)
downloadFreeBSD-src-ddb90f5ce0eee8c67af7fd6dd4b1e2523843f7dd.zip
FreeBSD-src-ddb90f5ce0eee8c67af7fd6dd4b1e2523843f7dd.tar.gz
Don't define the module glue if building as an LKM, this happens to have
a same symbol name as the LKM glue.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/ibcs2/ibcs2_sysvec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/ibcs2_sysvec.c b/sys/i386/ibcs2/ibcs2_sysvec.c
index a11790d..ac22f32 100644
--- a/sys/i386/ibcs2/ibcs2_sysvec.c
+++ b/sys/i386/ibcs2/ibcs2_sysvec.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: ibcs2_sysvec.c,v 1.8 1998/09/14 05:36:47 jdp Exp $
+ * $Id: ibcs2_sysvec.c,v 1.9 1998/11/06 16:00:47 peter Exp $
*/
#include <sys/param.h>
@@ -61,6 +61,7 @@ struct sysentvec ibcs2_svr3_sysvec = {
NULL /* we don't have a COFF coredump function */
};
+#ifndef LKM
/*
* Create an "ibcs2" module that does nothing but allow checking for
* the presence of the subsystem.
@@ -77,3 +78,4 @@ moduledata_t ibcs2_mod = {
0
};
DECLARE_MODULE(ibcs2, ibcs2_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
+#endif
OpenPOWER on IntegriCloud