Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/aoutm68k make LKM safe



details:   https://anonhg.NetBSD.org/src/rev/5e00ab1b9c63
branches:  trunk
changeset: 500145:5e00ab1b9c63
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Dec 06 21:25:39 2000 +0000

description:
make LKM safe

diffstat:

 sys/compat/aoutm68k/aoutm68k_stat.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b7b3123e4c5d -r 5e00ab1b9c63 sys/compat/aoutm68k/aoutm68k_stat.c
--- a/sys/compat/aoutm68k/aoutm68k_stat.c       Wed Dec 06 21:24:47 2000 +0000
+++ b/sys/compat/aoutm68k/aoutm68k_stat.c       Wed Dec 06 21:25:39 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aoutm68k_stat.c,v 1.1 2000/12/02 20:40:04 scw Exp $    */
+/*     $NetBSD: aoutm68k_stat.c,v 1.2 2000/12/06 21:25:39 jdolecek Exp $       */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -36,8 +36,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if defined(_KERNEL) && !defined(_LKM)
 #include "opt_compat_netbsd.h"
 #include "opt_compat_43.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index