svn commit: r257282 - head/sys/arm/include

Zbigniew Bodek zbb at FreeBSD.org
Mon Oct 28 21:41:46 UTC 2013


Author: zbb
Date: Mon Oct 28 21:41:44 2013
New Revision: 257282
URL: http://svnweb.freebsd.org/changeset/base/257282

Log:
  Switch off explicit broadcasting of the TLB flush operations for PJ4B CPU
  
  Since CPU_MV_PJ4B describes ARMv7 compliant CPU there is no need for
  sending an IPI each time when TLB is flushed in any way.
  
  Tested by:	kevlo

Modified:
  head/sys/arm/include/cpufunc.h

Modified: head/sys/arm/include/cpufunc.h
==============================================================================
--- head/sys/arm/include/cpufunc.h	Mon Oct 28 21:39:54 2013	(r257281)
+++ head/sys/arm/include/cpufunc.h	Mon Oct 28 21:41:44 2013	(r257282)
@@ -188,7 +188,7 @@ extern u_int cputype;
 #else
 void tlb_broadcast(int);
 
-#ifdef CPU_CORTEXA
+#if defined(CPU_CORTEXA) || defined(CPU_MV_PJ4B)
 #define TLB_BROADCAST	/* No need to explicitely send an IPI */
 #else
 #define TLB_BROADCAST	tlb_broadcast(7)


More information about the svn-src-head mailing list