summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzont <zont@FreeBSD.org>2013-01-14 12:12:56 +0000
committerzont <zont@FreeBSD.org>2013-01-14 12:12:56 +0000
commitee65990ea492afce93ac0eb4504b71c1a8f85b5d (patch)
tree9294662d78eb0e3d52578b29880218576b510e86
parent294fe48e7386fa8b2a27ff2f688bdea0dbe63516 (diff)
downloadFreeBSD-src-ee65990ea492afce93ac0eb4504b71c1a8f85b5d.zip
FreeBSD-src-ee65990ea492afce93ac0eb4504b71c1a8f85b5d.tar.gz
- Get rid of unused function vmspace_wired_count().
Reviewed by: alc Approved by: kib (mentor) MFC after: 1 week
-rw-r--r--sys/vm/vm_map.c6
-rw-r--r--sys/vm/vm_map.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 44290c0..26de826 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -726,12 +726,6 @@ vmspace_resident_count(struct vmspace *vmspace)
return pmap_resident_count(vmspace_pmap(vmspace));
}
-long
-vmspace_wired_count(struct vmspace *vmspace)
-{
- return pmap_wired_count(vmspace_pmap(vmspace));
-}
-
/*
* vm_map_create:
*
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index b3b1ad4..135b555 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -298,7 +298,6 @@ void vm_map_wait_busy(vm_map_t map);
_vm_map_lock_downgrade(map, LOCK_FILE, LOCK_LINE)
long vmspace_resident_count(struct vmspace *vmspace);
-long vmspace_wired_count(struct vmspace *vmspace);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud