aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-10-31 15:07:09 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-10-31 15:07:09 +0000
commitc4bcebed17116bbe16ca12e73e98ca1827ee0822 (patch)
treeee076622809e65db4ccfe2b85e548908300d4518 /sys/powerpc/aim
parent4c4164f9a76cf42915f7fcee79a2ab21f8b84369 (diff)
downloadsrc-c4bcebed17116bbe16ca12e73e98ca1827ee0822.tar.gz
src-c4bcebed17116bbe16ca12e73e98ca1827ee0822.zip
Add some missing parentheses so that moea_bat_mapped() actually works.
Submitted by: alc MFC after: 3 days
Notes
Notes: svn path=/head/; revision=214601
Diffstat (limited to 'sys/powerpc/aim')
-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 27d4ef3790c4..7814accc83b0 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);
/*