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:
Justin Hibbits 2017-02-21 05:08:07 +00:00
parent 7ad0d03d2b
commit 27da2007da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314024

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);
}
/**************************************************************************/