summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/mmu_oea.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-10-31 15:07:09 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-10-31 15:07:09 +0000
commiteb3515b958b46b711f1425b5ed98275e94fe08c2 (patch)
treeee076622809e65db4ccfe2b85e548908300d4518 /sys/powerpc/aim/mmu_oea.c
parent1685738e37d7504234562ff26039a6a542c0bbaa (diff)
downloadFreeBSD-src-eb3515b958b46b711f1425b5ed98275e94fe08c2.zip
FreeBSD-src-eb3515b958b46b711f1425b5ed98275e94fe08c2.tar.gz
Add some missing parentheses so that moea_bat_mapped() actually works.
Submitted by: alc MFC after: 3 days
Diffstat (limited to 'sys/powerpc/aim/mmu_oea.c')
-rw-r--r--sys/powerpc/aim/mmu_oea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c
index 27d4ef3..7814acc 100644
--- a/sys/powerpc/aim/mmu_oea.c
+++ b/sys/powerpc/aim/mmu_oea.c
@@ -2430,7 +2430,7 @@ moea_bat_mapped(int idx, vm_offset_t pa, vm_size_t size)
/*
* Return immediately if not a valid mapping
*/
- if (!battable[idx].batu & BAT_Vs)
+ if (!(battable[idx].batu & BAT_Vs))
return (EINVAL);
/*
OpenPOWER on IntegriCloud