diff options
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 8d1502f..864a39f 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2575,7 +2575,7 @@ pmap_is_prefaultable(pmap_t pmap, vm_offset_t addr) if (pde == NULL || (*pde & PG_V) == 0) return (FALSE); pte = vtopte(addr); - if ((*pte & PG_V) == 0) + if (*pte & PG_V) return (FALSE); return (TRUE); } |