summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_extern.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-09-09 14:52:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-09-09 14:52:13 +0000
commitd4fdf47e57e46c718170defcf0fedb16bf4ccf2e (patch)
tree7acb1a01ce79a3c2e1bd0fbb537c756de4a30670 /sys/uvm/uvm_extern.h
parent6b6d1e4ed4d5a35fb2ad0ca74a21a74afba329c6 (diff)
All our pmap implementations provide pmap_resident_count(), so remove
#ifndef pmap_resident_count code paths.
Diffstat (limited to 'sys/uvm/uvm_extern.h')
-rw-r--r--sys/uvm/uvm_extern.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index b7b78649ed9..5caa7bae34d 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.133 2015/07/19 21:21:14 beck Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.134 2015/09/09 14:52:12 miod Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -268,11 +268,7 @@ extern vaddr_t vm_min_kernel_address;
#define uvm_km_zalloc(MAP,SIZE) uvm_km_alloc1(MAP,SIZE,0,TRUE)
#define uvm_km_alloc(MAP,SIZE) uvm_km_alloc1(MAP,SIZE,0,FALSE)
-#ifdef pmap_resident_count
#define vm_resident_count(vm) (pmap_resident_count((vm)->vm_map.pmap))
-#else
-#define vm_resident_count(vm) ((vm)->vm_rssize)
-#endif
void vmapbuf(struct buf *, vsize_t);
void vunmapbuf(struct buf *, vsize_t);