aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/booke/pmap.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2015-08-29 06:52:14 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2015-08-29 06:52:14 +0000
commit12d44566ae9a54431f259870e29b9375e253722e (patch)
tree4f90ee8b9a5d7f78b0523899c7c35eb08b05909b /sys/powerpc/booke/pmap.c
parent8f1111cf0b26bfa0153146669ad750e217af5d33 (diff)
downloadsrc-12d44566ae9a54431f259870e29b9375e253722e.tar.gz
src-12d44566ae9a54431f259870e29b9375e253722e.zip
Notes
Diffstat (limited to 'sys/powerpc/booke/pmap.c')
-rw-r--r--sys/powerpc/booke/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c
index 5a3092e5816d..645d606755db 100644
--- a/sys/powerpc/booke/pmap.c
+++ b/sys/powerpc/booke/pmap.c
@@ -2817,7 +2817,7 @@ mmu_booke_mapdev_attr(mmu_t mmu, vm_paddr_t pa, vm_size_t size, vm_memattr_t ma)
sz = 1 << (ilog2(size) & ~1);
if (va % sz != 0) {
do {
- sz >>= 1;
+ sz >>= 2;
} while (va % sz != 0);
}
if (bootverbose)