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:
parent
0be387164e
commit
504623a0e7
@ -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);
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user