Correct the return value for pmap_change_attr()

pmap_change_attr() returns an error code, not a paddr.  This function is
currently unused for powerpc.

MFC after:	2 weeks
This commit is contained in:
jhibbits 2017-02-21 05:08:07 +00:00
parent 0be387164e
commit 504623a0e7

View File

@ -2973,7 +2973,7 @@ mmu_booke_change_attr(mmu_t mmu, vm_offset_t addr, vm_size_t sz,
tlb_miss_unlock();
mtx_unlock_spin(&tlbivax_mutex);
return (pte_vatopa(mmu, kernel_pmap, va));
return (0);
}
/**************************************************************************/