Module Name:    src
Committed By:   pooka
Date:           Sun Jun 13 11:35:41 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: emul.c

Log Message:
deal with sun3's module disability


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/rump/librump/rumpkern/emul.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/emul.c
diff -u src/sys/rump/librump/rumpkern/emul.c:1.139 src/sys/rump/librump/rumpkern/emul.c:1.140
--- src/sys/rump/librump/rumpkern/emul.c:1.139	Sun Jun 13 11:05:58 2010
+++ src/sys/rump/librump/rumpkern/emul.c	Sun Jun 13 11:35:41 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: emul.c,v 1.139 2010/06/13 11:05:58 pooka Exp $	*/
+/*	$NetBSD: emul.c,v 1.140 2010/06/13 11:35:41 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.139 2010/06/13 11:05:58 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.140 2010/06/13 11:35:41 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -103,6 +103,11 @@
 int pgshift = 12;
 #endif
 
+/* sun3 is sun3 with broken kernel modules */
+#if _MACHINE == sun3
+char KERNBASE[1]; /* this is completely random ... */
+#endif
+
 struct loadavg averunnable = {
 	{ 0 * FSCALE,
 	  1 * FSCALE,

Reply via email to