Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Include uvm/uvm_param.h from here to provide PAGE_SI...



details:   https://anonhg.NetBSD.org/src/rev/5e3c4fa0efbb
branches:  trunk
changeset: 758696:5e3c4fa0efbb
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Nov 13 08:41:40 2010 +0000

description:
Include uvm/uvm_param.h from here to provide PAGE_SIZE and other
VM related constants.  Many users of uvm/uvm_extern.h in subsystems
are interested in only PAGE_SIZE.  The whole uvm/uvm_extern.h is
not necessary at all.

diffstat:

 sys/sys/param.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9e22fe233511 -r 5e3c4fa0efbb sys/sys/param.h
--- a/sys/sys/param.h   Sat Nov 13 08:01:23 2010 +0000
+++ b/sys/sys/param.h   Sat Nov 13 08:41:40 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.374 2010/08/21 13:17:32 pgoyette Exp $     */
+/*     $NetBSD: param.h,v 1.375 2010/11/13 08:41:40 uebayasi Exp $     */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -138,6 +138,7 @@
 #include <sys/resource.h>
 #include <sys/ucred.h>
 #include <sys/uio.h>
+#include <uvm/uvm_param.h>
 #ifndef NPROC
 #define        NPROC   (20 + 16 * MAXUSERS)
 #endif



Home | Main Index | Thread Index | Old Index