summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/smp_plat.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-11-05 13:29:36 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-12-14 14:54:28 +0000
commit2ef7f3dbd7a70a48c3f09b498df528cb00ea03a4 (patch)
treeed6478d2eb2a9062b6f586acd4cc28ac0cfe30a5 /arch/arm/include/asm/smp_plat.h
parentbf32eb85492af197ea5ff20e0be56f667a80584d (diff)
downloadblackbird-op-linux-2ef7f3dbd7a70a48c3f09b498df528cb00ea03a4.tar.gz
blackbird-op-linux-2ef7f3dbd7a70a48c3f09b498df528cb00ea03a4.zip
ARM: Fix ptrace accesses
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/smp_plat.h')
-rw-r--r--arch/arm/include/asm/smp_plat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/smp_plat.h b/arch/arm/include/asm/smp_plat.h
index 59303e200845..e6215305544a 100644
--- a/arch/arm/include/asm/smp_plat.h
+++ b/arch/arm/include/asm/smp_plat.h
@@ -13,4 +13,9 @@ static inline int tlb_ops_need_broadcast(void)
return ((read_cpuid_ext(CPUID_EXT_MMFR3) >> 12) & 0xf) < 2;
}
+static inline int cache_ops_need_broadcast(void)
+{
+ return ((read_cpuid_ext(CPUID_EXT_MMFR3) >> 12) & 0xf) < 1;
+}
+
#endif
OpenPOWER on IntegriCloud