Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/freebsd LKMify



details:   https://anonhg.NetBSD.org/src/rev/a50540425c30
branches:  trunk
changeset: 499898:a50540425c30
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Fri Dec 01 18:03:54 2000 +0000

description:
LKMify

diffstat:

 sys/compat/freebsd/freebsd_file.c |  4 +++-
 sys/compat/freebsd/freebsd_misc.c |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 96246bcce2dd -r a50540425c30 sys/compat/freebsd/freebsd_file.c
--- a/sys/compat/freebsd/freebsd_file.c Fri Dec 01 17:59:12 2000 +0000
+++ b/sys/compat/freebsd/freebsd_file.c Fri Dec 01 18:03:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_file.c,v 1.10 2000/12/01 12:28:31 jdolecek Exp $       */
+/*     $NetBSD: freebsd_file.c,v 1.11 2000/12/01 18:03:54 jdolecek Exp $       */
 
 /*
  * Copyright (c) 1995 Frank van der Linden
@@ -33,7 +33,9 @@
  *     from: linux_file.c,v 1.3 1995/04/04 04:21:30 mycroft Exp
  */
 
+#if defined(_KERNEL) && !defined(_LKM)
 #include "fs_nfs.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 96246bcce2dd -r a50540425c30 sys/compat/freebsd/freebsd_misc.c
--- a/sys/compat/freebsd/freebsd_misc.c Fri Dec 01 17:59:12 2000 +0000
+++ b/sys/compat/freebsd/freebsd_misc.c Fri Dec 01 18:03:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_misc.c,v 1.8 2000/12/01 12:28:31 jdolecek Exp $        */
+/*     $NetBSD: freebsd_misc.c,v 1.9 2000/12/01 18:03:54 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1995 Frank van der Linden
@@ -35,7 +35,9 @@
  * FreeBSD compatibility module. Try to deal with various FreeBSD system calls.
  */
 
+#if defined(_KERNEL) && !defined(_LKM)
 #include "opt_ntp.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index