uvmspace_unshare: #if 0-out this function. Q: perhaps remove?

AFAIK it was not used for 11 years.
This commit is contained in:
rmind 2009-09-06 23:14:19 +00:00
parent aaea45533d
commit 34c783b631
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $ */
/* $NetBSD: uvm_map.c,v 1.282 2009/09/06 23:14:19 rmind Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.282 2009/09/06 23:14:19 rmind Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@ -4146,6 +4146,8 @@ uvmspace_share(struct proc *p1, struct proc *p2)
p2->p_vmspace = p1->p_vmspace;
}
#if 0
/*
* uvmspace_unshare: ensure that process "p" has its own, unshared, vmspace
*
@ -4174,6 +4176,8 @@ uvmspace_unshare(struct lwp *l)
uvmspace_free(ovm); /* drop reference to old vmspace */
}
#endif
/*
* uvmspace_exec: the process wants to exec a new program
*/