diff options
author | benno <benno@FreeBSD.org> | 2002-03-11 07:09:42 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-03-11 07:09:42 +0000 |
commit | a16c1fce788aa5ca770f4ca66adcf6bec9e7c01e (patch) | |
tree | 8b3c1c77e700dd1c944070180c183d336d1f7f95 /sys | |
parent | 610055212c343cfa7aa9e25b2c03784e245d68e2 (diff) | |
download | FreeBSD-src-a16c1fce788aa5ca770f4ca66adcf6bec9e7c01e.zip FreeBSD-src-a16c1fce788aa5ca770f4ca66adcf6bec9e7c01e.tar.gz |
Correct a typo. (* that should've been &)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/powerpc/aim/mmu_oea.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/mmu_oea.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/pmap.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index 8d49cd6..ed5d113 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -1723,7 +1723,7 @@ pmap_pvo_remove(struct pvo_entry *pvo, int pteidx) if (pvo->pvo_vaddr & PVO_MANAGED) { struct vm_page *pg; - pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pte_lo * PTE_RPGN); + pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pte_lo & PTE_RPGN); if (pg != NULL) { pmap_attr_save(pg, pvo->pvo_pte.pte_lo & (PTE_REF | PTE_CHG)); diff --git a/sys/powerpc/powerpc/mmu_oea.c b/sys/powerpc/powerpc/mmu_oea.c index 8d49cd6..ed5d113 100644 --- a/sys/powerpc/powerpc/mmu_oea.c +++ b/sys/powerpc/powerpc/mmu_oea.c @@ -1723,7 +1723,7 @@ pmap_pvo_remove(struct pvo_entry *pvo, int pteidx) if (pvo->pvo_vaddr & PVO_MANAGED) { struct vm_page *pg; - pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pte_lo * PTE_RPGN); + pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pte_lo & PTE_RPGN); if (pg != NULL) { pmap_attr_save(pg, pvo->pvo_pte.pte_lo & (PTE_REF | PTE_CHG)); diff --git a/sys/powerpc/powerpc/pmap.c b/sys/powerpc/powerpc/pmap.c index 8d49cd6..ed5d113 100644 --- a/sys/powerpc/powerpc/pmap.c +++ b/sys/powerpc/powerpc/pmap.c @@ -1723,7 +1723,7 @@ pmap_pvo_remove(struct pvo_entry *pvo, int pteidx) if (pvo->pvo_vaddr & PVO_MANAGED) { struct vm_page *pg; - pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pte_lo * PTE_RPGN); + pg = PHYS_TO_VM_PAGE(pvo->pvo_pte.pte_lo & PTE_RPGN); if (pg != NULL) { pmap_attr_save(pg, pvo->pvo_pte.pte_lo & (PTE_REF | PTE_CHG)); |