Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2015 20:32:10 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279371 - head/sys/powerpc/aim
Message-ID:  <201502272032.t1RKWAW1087868@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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] =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502272032.t1RKWAW1087868>