From 2923b75ea3f1c01650bb204a398cb5be22bd595e Mon Sep 17 00:00:00 2001 From: Zbigniew Bodek Date: Mon, 28 Oct 2013 21:41:44 +0000 Subject: [PATCH] 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 --- sys/arm/include/cpufunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/include/cpufunc.h b/sys/arm/include/cpufunc.h index 6ba96c5fbe9..d3e9ebecc1c 100644 --- a/sys/arm/include/cpufunc.h +++ b/sys/arm/include/cpufunc.h @@ -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)