svn commit: r314024 - head/sys/powerpc/booke

Justin Hibbits jhibbits at FreeBSD.org
Tue Feb 21 05:08:09 UTC 2017


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


More information about the svn-src-head mailing list