diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2009-07-12 12:37:38 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2009-07-12 12:37:38 +0000 |
| commit | 529ab57b9a6edbb6d47935902deb5fa6274fefda (patch) | |
| tree | 162d2a581898976c5032c768468ed755000b96c0 | |
| parent | 962ebef8c0007fef8fd04882811b2a52bf794a34 (diff) | |
Notes
| -rw-r--r-- | sys/vm/vm_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 7cc2c2d9214a..dc7a490fe80d 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -2354,12 +2354,12 @@ vm_map_wire(vm_map_t map, vm_offset_t start, vm_offset_t end, if (entry->wired_count == 0) { if ((entry->protection & (VM_PROT_READ|VM_PROT_EXECUTE)) == 0) { + entry->eflags |= MAP_ENTRY_WIRE_SKIPPED; if ((flags & VM_MAP_WIRE_HOLESOK) == 0) { end = entry->end; rv = KERN_INVALID_ADDRESS; goto done; } - entry->eflags |= MAP_ENTRY_WIRE_SKIPPED; goto next_entry; } entry->wired_count++; |
