summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-10-03 00:16:43 +0000
committeralc <alc@FreeBSD.org>2004-10-03 00:16:43 +0000
commitc4db706631d6435563c38ac0b9ba4acbbfddccb6 (patch)
tree27b4e9b53e3574041a395765b40e28254a7d3fc3 /sys/alpha
parent7ac950b1172f3d9213061f3918e5cd1c96ef5c43 (diff)
downloadFreeBSD-src-c4db706631d6435563c38ac0b9ba4acbbfddccb6.zip
FreeBSD-src-c4db706631d6435563c38ac0b9ba4acbbfddccb6.tar.gz
The physical address stored in the vm_page is page aligned. There is no
need to mask off the page offset bits. (This operation made some sense prior to i386/i386/pmap.c revision 1.254 when we passed a physical address rather than a vm_page pointer to pmap_enter().)
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c
index bb6a723..9a2cbd6 100644
--- a/sys/alpha/alpha/pmap.c
+++ b/sys/alpha/alpha/pmap.c
@@ -1686,7 +1686,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
}
origpte = *pte;
- pa = VM_PAGE_TO_PHYS(m) & ~PAGE_MASK;
+ pa = VM_PAGE_TO_PHYS(m);
managed = 0;
opa = pmap_pte_pa(pte);
OpenPOWER on IntegriCloud