summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 7b210cf..8d15263 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1782,8 +1782,8 @@ done:
*/
entry->wired_count = 0;
} else {
- if (!user_wire || (entry->wired_count == 1 &&
- (entry->eflags & MAP_ENTRY_USER_WIRED) == 0))
+ if (!user_wire ||
+ (entry->eflags & MAP_ENTRY_USER_WIRED) == 0)
entry->wired_count--;
if (entry->wired_count == 0) {
/*
OpenPOWER on IntegriCloud