Fix unitialized variable.

This commit is contained in:
Nathan Whitehorn 2015-02-27 20:32:09 +00:00
parent 2cc1ad9c56
commit d4eb568e07

View File

@ -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] =