Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm unifdef -U_LKM



details:   https://anonhg.NetBSD.org/src/rev/1163c26d477c
branches:  trunk
changeset: 936269:1163c26d477c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jul 23 19:07:01 2020 +0000

description:
unifdef -U_LKM

diffstat:

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

diffs (23 lines):

diff -r 0641cabe71fd -r 1163c26d477c sys/uvm/uvm_param.h
--- a/sys/uvm/uvm_param.h       Thu Jul 23 19:04:03 2020 +0000
+++ b/sys/uvm/uvm_param.h       Thu Jul 23 19:07:01 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_param.h,v 1.40 2020/06/25 18:20:18 jdolecek Exp $  */
+/*     $NetBSD: uvm_param.h,v 1.41 2020/07/23 19:07:01 skrll Exp $     */
 
 /*
  * Copyright (c) 1991, 1993
@@ -133,11 +133,11 @@
 
 /*
  * If MIN_PAGE_SIZE and MAX_PAGE_SIZE are not equal, then we must use
- * non-constant PAGE_SIZE, et al for LKMs.
+ * non-constant PAGE_SIZE, et al for modules.
  */
 #if (MIN_PAGE_SIZE != MAX_PAGE_SIZE)
 #define        __uvmexp_pagesize
-#if defined(_LKM) || defined(_MODULE)
+#if defined(_MODULE)
 #undef PAGE_SIZE
 #undef PAGE_MASK
 #undef PAGE_SHIFT



Home | Main Index | Thread Index | Old Index