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

Nathan Whitehorn nwhitehorn at FreeBSD.org
Fri Feb 27 20:32:10 UTC 2015


Author: nwhitehorn
Date: Fri Feb 27 20:32:09 2015
New Revision: 279371
URL: https://svnweb.freebsd.org/changeset/base/279371

Log:
  Fix unitialized variable.

Modified:
  head/sys/powerpc/aim/moea64_native.c

Modified: head/sys/powerpc/aim/moea64_native.c
==============================================================================
--- head/sys/powerpc/aim/moea64_native.c	Fri Feb 27 20:29:03 2015	(r279370)
+++ head/sys/powerpc/aim/moea64_native.c	Fri Feb 27 20:32:09 2015	(r279371)
@@ -268,7 +268,7 @@ moea64_pte_clear_native(mmu_t mmu, struc
 		/* See "Resetting the Reference Bit" in arch manual */
 		PTESYNC();
 		/* 2-step here safe: precision is not guaranteed */
-		ptelo |= pt->pte_lo;
+		ptelo = pt->pte_lo;
 
 		/* One-byte store to avoid touching the C bit */
 		((volatile uint8_t *)(&pt->pte_lo))[6] =


More information about the svn-src-head mailing list