diff options
author | alc <alc@FreeBSD.org> | 1999-07-31 04:10:31 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-07-31 04:10:31 +0000 |
commit | 20a1bb96df3333bed25219a4a84b459d16bb0243 (patch) | |
tree | 88edba55fd5160242a31f39c8e85dc2835888f0b /sys | |
parent | d9191892819d710b6f1cea32f2a5258e4badaabf (diff) | |
download | FreeBSD-src-20a1bb96df3333bed25219a4a84b459d16bb0243.zip FreeBSD-src-20a1bb96df3333bed25219a4a84b459d16bb0243.tar.gz |
Add parentheses for clarity.
Submitted by: dillon
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/pmap.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 28bdc7e..6408ece 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.241 1999/07/08 06:05:49 mckusick Exp $ + * $Id: pmap.c,v 1.242 1999/07/21 18:01:40 alc Exp $ */ /* @@ -3188,7 +3188,7 @@ pmap_ts_referenced(vm_offset_t pa) pte = pmap_pte_quick(pv->pv_pmap, pv->pv_va); - if (pte && *pte & PG_A) { + if (pte && (*pte & PG_A)) { *pte &= ~PG_A; pmap_TLB_invalidate(pv->pv_pmap, pv->pv_va); diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 28bdc7e..6408ece 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.241 1999/07/08 06:05:49 mckusick Exp $ + * $Id: pmap.c,v 1.242 1999/07/21 18:01:40 alc Exp $ */ /* @@ -3188,7 +3188,7 @@ pmap_ts_referenced(vm_offset_t pa) pte = pmap_pte_quick(pv->pv_pmap, pv->pv_va); - if (pte && *pte & PG_A) { + if (pte && (*pte & PG_A)) { *pte &= ~PG_A; pmap_TLB_invalidate(pv->pv_pmap, pv->pv_va); |