summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2015-02-27 20:32:09 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2015-02-27 20:32:09 +0000
commitce01678e9dc0f3120730ba6b701bd64aa40db987 (patch)
treeb54247032f819a319f8578d03331bd6febc65c4b /sys/powerpc/aim
parentd4f812a8b91664a8c807467020826637cfc19b91 (diff)
downloadFreeBSD-src-ce01678e9dc0f3120730ba6b701bd64aa40db987.zip
FreeBSD-src-ce01678e9dc0f3120730ba6b701bd64aa40db987.tar.gz
Fix unitialized variable.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/moea64_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/moea64_native.c b/sys/powerpc/aim/moea64_native.c
index 9cb62e8..a601fcb 100644
--- a/sys/powerpc/aim/moea64_native.c
+++ b/sys/powerpc/aim/moea64_native.c
@@ -268,7 +268,7 @@ moea64_pte_clear_native(mmu_t mmu, struct pvo_entry *pvo, uint64_t ptebit)
/* 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] =
OpenPOWER on IntegriCloud