Module Name: src
Committed By: pooka
Date: Wed Jun 2 10:55:19 UTC 2010
Modified Files:
src/sys/rump/librump/rumpkern: rump.c rump_private.h vm.c
Log Message:
rumpvm_init -> uvm_init to get rid of local prototype.
no functional change
To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 src/sys/rump/librump/rumpkern/rump.c
cvs rdiff -u -r1.48 -r1.49 src/sys/rump/librump/rumpkern/rump_private.h
cvs rdiff -u -r1.78 -r1.79 src/sys/rump/librump/rumpkern/vm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/rump.c
diff -u src/sys/rump/librump/rumpkern/rump.c:1.173 src/sys/rump/librump/rumpkern/rump.c:1.174
--- src/sys/rump/librump/rumpkern/rump.c:1.173 Mon May 31 23:18:33 2010
+++ src/sys/rump/librump/rumpkern/rump.c Wed Jun 2 10:55:18 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.173 2010/05/31 23:18:33 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.174 2010/06/02 10:55:18 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.173 2010/05/31 23:18:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.174 2010/06/02 10:55:18 pooka Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -75,6 +75,7 @@
#include <prop/proplib.h>
+#include <uvm/uvm_extern.h>
#include <uvm/uvm_readahead.h>
#include "rump_private.h"
@@ -276,7 +277,7 @@
mutex_init(&tty_lock, MUTEX_DEFAULT, IPL_NONE);
rumpuser_mutex_recursive_init(&rump_giantlock);
ksyms_init();
- rumpvm_init();
+ uvm_init();
evcnt_init();
once_init();
Index: src/sys/rump/librump/rumpkern/rump_private.h
diff -u src/sys/rump/librump/rumpkern/rump_private.h:1.48 src/sys/rump/librump/rumpkern/rump_private.h:1.49
--- src/sys/rump/librump/rumpkern/rump_private.h:1.48 Tue Jun 1 10:29:21 2010
+++ src/sys/rump/librump/rumpkern/rump_private.h Wed Jun 2 10:55:18 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_private.h,v 1.48 2010/06/01 10:29:21 pooka Exp $ */
+/* $NetBSD: rump_private.h,v 1.49 2010/06/02 10:55:18 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -81,8 +81,6 @@
void rump_component_init(enum rump_component_type);
int rump_component_count(enum rump_component_type);
-void rumpvm_init(void);
-
void rump_gettime(struct timespec *);
void rump_getuptime(struct timespec *);
Index: src/sys/rump/librump/rumpkern/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.78 src/sys/rump/librump/rumpkern/vm.c:1.79
--- src/sys/rump/librump/rumpkern/vm.c:1.78 Tue Jun 1 20:11:33 2010
+++ src/sys/rump/librump/rumpkern/vm.c Wed Jun 2 10:55:18 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: vm.c,v 1.78 2010/06/01 20:11:33 pooka Exp $ */
+/* $NetBSD: vm.c,v 1.79 2010/06/02 10:55:18 pooka Exp $ */
/*
* Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.78 2010/06/01 20:11:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.79 2010/06/02 10:55:18 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -229,7 +229,7 @@
static kmutex_t pagermtx;
void
-rumpvm_init(void)
+uvm_init(void)
{
uvmexp.free = 1024*1024; /* XXX */