2 * ARM specific SMP header, this contains our implementation
5 #ifndef __ASMARM_SMP_PLAT_H
6 #define __ASMARM_SMP_PLAT_H
8 #include <asm/cputype.h>
11 * Return true if we are running on a SMP platform
13 static inline bool is_smp(void)
17 #elif defined(CONFIG_SMP_ON_UP)
18 extern unsigned int smp_on_up
;
25 /* all SMP configurations have the extended CPUID registers */
26 static inline int tlb_ops_need_broadcast(void)
31 return ((read_cpuid_ext(CPUID_EXT_MMFR3
) >> 12) & 0xf) < 2;
34 #if !defined(CONFIG_SMP) || __LINUX_ARM_ARCH__ >= 7
35 #define cache_ops_need_broadcast() 0
37 static inline int cache_ops_need_broadcast(void)
42 return ((read_cpuid_ext(CPUID_EXT_MMFR3
) >> 12) & 0xf) < 1;