Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 make compilable within LKM



details:   https://anonhg.NetBSD.org/src/rev/f16286a5a79d
branches:  trunk
changeset: 500799:f16286a5a79d
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Dec 18 20:49:17 2000 +0000

description:
make compilable within LKM

diffstat:

 sys/arch/i386/i386/freebsd_syscall.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0cd1b2875e92 -r f16286a5a79d sys/arch/i386/i386/freebsd_syscall.c
--- a/sys/arch/i386/i386/freebsd_syscall.c      Mon Dec 18 20:47:10 2000 +0000
+++ b/sys/arch/i386/i386/freebsd_syscall.c      Mon Dec 18 20:49:17 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_syscall.c,v 1.1 2000/12/18 20:38:28 jdolecek Exp $     */
+/*     $NetBSD: freebsd_syscall.c,v 1.2 2000/12/18 20:49:17 jdolecek Exp $     */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -36,9 +36,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if defined(_KERNEL) && !defined(_LKM)
 #include "opt_syscall_debug.h"
-#include "opt_vm86.h"
 #include "opt_ktrace.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index