Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm __uvmexp_pagesize is needed also for non-modular bui...



details:   https://anonhg.NetBSD.org/src/rev/2253d9a5fe9b
branches:  trunk
changeset: 777637:2253d9a5fe9b
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 27 01:39:58 2012 +0000

description:
__uvmexp_pagesize is needed also for non-modular builds, as
witnessed by the otherwise failing sparc build.

diffstat:

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

diffs (19 lines):

diff -r 86f9f3ac0ccb -r 2253d9a5fe9b sys/uvm/uvm_param.h
--- a/sys/uvm/uvm_param.h       Sun Feb 26 23:14:26 2012 +0000
+++ b/sys/uvm/uvm_param.h       Mon Feb 27 01:39:58 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_param.h,v 1.28 2012/02/23 20:49:46 matt Exp $      */
+/*     $NetBSD: uvm_param.h,v 1.29 2012/02/27 01:39:58 he Exp $        */
 
 /*
  * Copyright (c) 1991, 1993
@@ -136,9 +136,7 @@
  * non-constant PAGE_SIZE, et al for LKMs.
  */
 #if (MIN_PAGE_SIZE != MAX_PAGE_SIZE)
-#if defined(MODULAR)
 #define        __uvmexp_pagesize
-#endif
 #if defined(_LKM) || defined(_MODULE)
 #undef PAGE_SIZE
 #undef PAGE_MASK



Home | Main Index | Thread Index | Old Index