Fix unitialized variable.

This commit is contained in:
nwhitehorn 2015-02-27 20:32:09 +00:00
parent d4f812a8b9
commit ce01678e9d

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