mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 17:10:36 +00:00
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
7ad0d03d2b
commit
27da2007da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314024
|
@ -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 a new issue