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] =
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to