Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap _KERNEL_OPT protection



details:   https://anonhg.NetBSD.org/src/rev/7c7284160f87
branches:  trunk
changeset: 372246:7c7284160f87
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Nov 03 18:55:07 2022 +0000

description:
_KERNEL_OPT protection

diffstat:

 sys/uvm/pmap/pmap.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 60cc62d74561 -r 7c7284160f87 sys/uvm/pmap/pmap.h
--- a/sys/uvm/pmap/pmap.h       Thu Nov 03 09:04:56 2022 +0000
+++ b/sys/uvm/pmap/pmap.h       Thu Nov 03 18:55:07 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.25 2022/11/03 09:04:57 skrll Exp $  */
+/*     $NetBSD: pmap.h,v 1.26 2022/11/03 18:55:07 skrll Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -71,7 +71,9 @@
  *     @(#)pmap.h      8.1 (Berkeley) 6/10/93
  */
 
+#ifdef _KERNEL_OPT
 #include "opt_efi.h"
+#endif
 
 #ifndef        _UVM_PMAP_PMAP_H_
 #define        _UVM_PMAP_PMAP_H_



Home | Main Index | Thread Index | Old Index