Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Test _KERNEL_OPT before including opt_...



details:   https://anonhg.NetBSD.org/src/rev/7d33fe719c63
branches:  trunk
changeset: 542490:7d33fe719c63
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jan 30 19:59:29 2003 +0000

description:
Test _KERNEL_OPT before including opt_*.h files.

diffstat:

 sys/arch/i386/include/lock.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 56738970590c -r 7d33fe719c63 sys/arch/i386/include/lock.h
--- a/sys/arch/i386/include/lock.h      Thu Jan 30 19:47:00 2003 +0000
+++ b/sys/arch/i386/include/lock.h      Thu Jan 30 19:59:29 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.6 2002/10/01 12:57:07 fvdl Exp $    */
+/*     $NetBSD: lock.h,v 1.7 2003/01/30 19:59:29 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
 #ifndef _I386_LOCK_H_
 #define        _I386_LOCK_H_
 
-#if defined(_KERNEL) && !defined(_LKM)
+#if defined(_KERNEL_OPT)
 #include "opt_lockdebug.h"
 #endif
 



Home | Main Index | Thread Index | Old Index