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 Protect inclusion of "opt_vm86.h" with...



details:   https://anonhg.NetBSD.org/src/rev/cc2f4957bc46
branches:  trunk
changeset: 550922:cc2f4957bc46
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Aug 25 13:11:30 2003 +0000

description:
Protect inclusion of "opt_vm86.h" with "#ifdef _KERNEL_OPT" as appropriate.

diffstat:

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

diffs (18 lines):

diff -r 7d1e7a2c7e3b -r cc2f4957bc46 sys/arch/i386/include/mcontext.h
--- a/sys/arch/i386/include/mcontext.h  Mon Aug 25 10:52:23 2003 +0000
+++ b/sys/arch/i386/include/mcontext.h  Mon Aug 25 13:11:30 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcontext.h,v 1.3 2003/08/25 09:20:25 drochner Exp $    */
+/*     $NetBSD: mcontext.h,v 1.4 2003/08/25 13:11:30 tron Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@
 
 #define _UC_UCONTEXT_ALIGN     (~0xf)
 
-#ifdef _KERNEL
+#ifdef _KERNEL_OPT
 #include "opt_vm86.h"
 #ifdef VM86
 /*#include <machine/psl.h>*/



Home | Main Index | Thread Index | Old Index