Author: nwhitehorn
Date: Sun Oct 31 15:07:09 2010
New Revision: 214601
URL: http://svn.freebsd.org/changeset/base/214601
Log:
Add some missing parentheses so that moea_bat_mapped() actually works.
Submitted by: alc
MFC after: 3 days
Modified:
head/sys/powerpc/aim/mmu_oea.c
Modified: head/sys/powerpc/aim/mmu_oea.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea.c Sun Oct 31 12:08:16 2010
(r214600)
+++ head/sys/powerpc/aim/mmu_oea.c Sun Oct 31 15:07:09 2010
(r214601)
@@ -2430,7 +2430,7 @@ moea_bat_mapped(int idx, vm_offset_t pa,
/*
* Return immediately if not a valid mapping
*/
- if (!battable[idx].batu & BAT_Vs)
+ if (!(battable[idx].batu & BAT_Vs))
return (EINVAL);
/*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"