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 Remove unused rump_set_vmspace. A...
details: https://anonhg.NetBSD.org/src/rev/3ef1c6d679a8
branches: trunk
changeset: 758852:3ef1c6d679a8
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Nov 17 21:57:33 2010 +0000
description:
Remove unused rump_set_vmspace. An equivalent needs to come back
later, though, but in its current form it's just unusable garbage.
diffstat:
sys/rump/librump/rumpkern/rump.c | 13 ++-----------
sys/rump/librump/rumpkern/rump_private.h | 4 +---
2 files changed, 3 insertions(+), 14 deletions(-)
diffs (52 lines):
diff -r b311bf84e223 -r 3ef1c6d679a8 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Wed Nov 17 21:52:29 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Wed Nov 17 21:57:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.199 2010/11/17 21:52:29 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.200 2010/11/17 21:57:33 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.199 2010/11/17 21:52:29 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.200 2010/11/17 21:57:33 pooka Exp $");
#include <sys/systm.h>
#define ELFSIZE ARCH_ELFSIZE
@@ -517,15 +517,6 @@
return resid;
}
-/* rump private. NEEDS WORK! */
-void
-rump_set_vmspace(struct vmspace *vm)
-{
- struct proc *p = curproc;
-
- p->p_vmspace = vm;
-}
-
kauth_cred_t
rump_cred_create(uid_t uid, gid_t gid, size_t ngroups, gid_t *groups)
{
diff -r b311bf84e223 -r 3ef1c6d679a8 sys/rump/librump/rumpkern/rump_private.h
--- a/sys/rump/librump/rumpkern/rump_private.h Wed Nov 17 21:52:29 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump_private.h Wed Nov 17 21:57:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_private.h,v 1.62 2010/11/17 19:54:09 pooka Exp $ */
+/* $NetBSD: rump_private.h,v 1.63 2010/11/17 21:57:33 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -87,8 +87,6 @@
void rump_component_init(enum rump_component_type);
int rump_component_count(enum rump_component_type);
-void rump_set_vmspace(struct vmspace *);
-
typedef void (*rump_proc_vfs_init_fn)(struct proc *);
typedef void (*rump_proc_vfs_release_fn)(struct proc *);
extern rump_proc_vfs_init_fn rump_proc_vfs_init;
Home |
Main Index |
Thread Index |
Old Index