Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips make LKM friedlier - only include opt_* i...



details:   https://anonhg.NetBSD.org/src/rev/8cd54488f561
branches:  trunk
changeset: 539983:8cd54488f561
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Nov 30 10:52:16 2002 +0000

description:
make LKM friedlier - only include opt_* ifdef _KERNEL_OPT

diffstat:

 sys/arch/mips/mips/syscall.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r af01c4ead134 -r 8cd54488f561 sys/arch/mips/mips/syscall.c
--- a/sys/arch/mips/mips/syscall.c      Sat Nov 30 09:59:22 2002 +0000
+++ b/sys/arch/mips/mips/syscall.c      Sat Nov 30 10:52:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.12 2002/11/15 20:06:02 manu Exp $        */
+/*     $NetBSD: syscall.c,v 1.13 2002/11/30 10:52:16 jdolecek Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -80,11 +80,13 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.12 2002/11/15 20:06:02 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.13 2002/11/30 10:52:16 jdolecek Exp $");
 
+#if defined(_KERNEL_OPT)
 #include "opt_ktrace.h"
 #include "opt_systrace.h"
 #include "opt_syscall_debug.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index