Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ultrix make LKM safe
details: https://anonhg.NetBSD.org/src/rev/c627ee73cf73
branches: trunk
changeset: 499914:c627ee73cf73
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Dec 01 19:26:57 2000 +0000
description:
make LKM safe
diffstat:
sys/compat/ultrix/ultrix_misc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 6c7c362f78cb -r c627ee73cf73 sys/compat/ultrix/ultrix_misc.c
--- a/sys/compat/ultrix/ultrix_misc.c Fri Dec 01 19:26:26 2000 +0000
+++ b/sys/compat/ultrix/ultrix_misc.c Fri Dec 01 19:26:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_misc.c,v 1.62 2000/12/01 12:28:36 jdolecek Exp $ */
+/* $NetBSD: ultrix_misc.c,v 1.63 2000/12/01 19:26:57 jdolecek Exp $ */
/*
* Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -79,9 +79,11 @@
* from: Header: sun_misc.c,v 1.16 93/04/07 02:46:27 torek Exp
*/
+#if defined(_KERNEL) && !defined(_LKM)
#include "opt_nfsserver.h"
#include "opt_sysv.h"
#include "opt_execfmt.h"
+#endif
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
@@ -92,7 +94,9 @@
* handled here.
*/
+#if defined(_KERNEL) && !defined(_LKM)
#include "fs_nfs.h"
+#endif
#include <sys/param.h>
#include <sys/systm.h>
Home |
Main Index |
Thread Index |
Old Index