svn commit: r214601 - head/sys/powerpc/aim

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Oct 31 15:07:10 UTC 2010


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);
 
 	/*


More information about the svn-src-all mailing list