smp_plat.h 346 B

12345678910111213141516
  1. /*
  2. * ARM specific SMP header, this contains our implementation
  3. * details.
  4. */
  5. #ifndef __ASMARM_SMP_PLAT_H
  6. #define __ASMARM_SMP_PLAT_H
  7. #include <asm/cputype.h>
  8. /* all SMP configurations have the extended CPUID registers */
  9. static inline int tlb_ops_need_broadcast(void)
  10. {
  11. return ((read_cpuid_ext(CPUID_EXT_MMFR3) >> 12) & 0xf) < 2;
  12. }
  13. #endif