Author: jhibbits
Date: Tue Feb 21 05:08:07 2017
New Revision: 314024
URL: https://svnweb.freebsd.org/changeset/base/314024

Log:
  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

Modified:
  head/sys/powerpc/booke/pmap.c

Modified: head/sys/powerpc/booke/pmap.c
==============================================================================
--- head/sys/powerpc/booke/pmap.c       Tue Feb 21 03:50:57 2017        
(r314023)
+++ head/sys/powerpc/booke/pmap.c       Tue Feb 21 05:08:07 2017        
(r314024)
@@ -2973,7 +2973,7 @@ mmu_booke_change_attr(mmu_t mmu, vm_offs
        tlb_miss_unlock();
        mtx_unlock_spin(&tlbivax_mutex);
 
-       return (pte_vatopa(mmu, kernel_pmap, va));
+       return (0);
 }
 
 /**************************************************************************/
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to