From: kettenis Date: Fri, 5 Aug 2016 19:56:52 +0000 (+0000) Subject: Replace inappropriate use of CP15_CNTPCT with CP_DCCIMVAC. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=20c5560d788f86fc94a50ea9bedb73f799cab908;p=openbsd Replace inappropriate use of CP15_CNTPCT with CP_DCCIMVAC. No binary change. --- diff --git a/sys/arch/arm/arm/cpufunc_asm_armv7.S b/sys/arch/arm/arm/cpufunc_asm_armv7.S index f1d43833819..c9f9fd05eea 100644 --- a/sys/arch/arm/arm/cpufunc_asm_armv7.S +++ b/sys/arch/arm/arm/cpufunc_asm_armv7.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc_asm_armv7.S,v 1.11 2016/08/03 07:05:05 kettenis Exp $ */ +/* $OpenBSD: cpufunc_asm_armv7.S,v 1.12 2016/08/05 19:56:52 kettenis Exp $ */ /* * Copyright (c) 2008 Dale Rahn * @@ -161,7 +161,7 @@ ENTRY(armv7_idcache_wbinv_range) 1: mcr CP15_DCCMVAU(r0) /* Clean D cache SE with VA to PoU */ mcr CP15_ICIMVAU(r0) /* Invalidate I cache SE with VA */ - mcr CP15_CNTPCT(r0, c7), 1 /* Purge D cache SE with VA */ + mcr CP15_DCCIMVAC(r0) /* Purge D cache SE with VA */ add r0, r0, ip subs r1, r1, ip bhi 1b @@ -183,7 +183,7 @@ ENTRY(armv7_dcache_wbinv_range) 1: mcr CP15_DCCMVAU(r0) /* Clean D cache SE with VA to PoU */ mcr CP15_ICIMVAU(r0) /* Invalidate I cache SE with VA */ - mcr CP15_CNTPCT(r0, c7), 1 /* Purge D cache SE with VA */ + mcr CP15_DCCIMVAC(r0) /* Purge D cache SE with VA */ add r0, r0, ip subs r1, r1, ip bhi 1b