From 85a5a5ec09a45be0de745228602fd36b9c1059c4 Mon Sep 17 00:00:00 2001 From: he Date: Mon, 27 Feb 2012 01:39:58 +0000 Subject: [PATCH] __uvmexp_pagesize is needed also for non-modular builds, as witnessed by the otherwise failing sparc build. --- sys/uvm/uvm_param.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/uvm/uvm_param.h b/sys/uvm/uvm_param.h index 57572c2a03f0..c9ecdea1a970 100644 --- a/sys/uvm/uvm_param.h +++ b/sys/uvm/uvm_param.h @@ -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