Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern rumpvm_init -> uvm_init to get rid...
details: https://anonhg.NetBSD.org/src/rev/775fb8c7b71a
branches: trunk
changeset: 755347:775fb8c7b71a
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jun 02 10:55:18 2010 +0000
description:
rumpvm_init -> uvm_init to get rid of local prototype.
no functional change
diffstat:
sys/rump/librump/rumpkern/rump.c | 7 ++++---
sys/rump/librump/rumpkern/rump_private.h | 4 +---
sys/rump/librump/rumpkern/vm.c | 6 +++---
3 files changed, 8 insertions(+), 9 deletions(-)
diffs (80 lines):
diff -r 2960192d7505 -r 775fb8c7b71a sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Wed Jun 02 09:56:59 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Wed Jun 02 10:55:18 2010 +0000
@@ -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();
diff -r 2960192d7505 -r 775fb8c7b71a sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h Wed Jun 02 09:56:59 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h Wed Jun 02 10:55:18 2010 +0000
@@ -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 *);
diff -r 2960192d7505 -r 775fb8c7b71a sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c Wed Jun 02 09:56:59 2010 +0000
+++ b/sys/rump/librump/rumpkern/vm.c Wed Jun 02 10:55:18 2010 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index