Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v2.6.35-rc4 21 lines 461 B view raw
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 8#include <asm/cputype.h> 9 10/* all SMP configurations have the extended CPUID registers */ 11static inline int tlb_ops_need_broadcast(void) 12{ 13 return ((read_cpuid_ext(CPUID_EXT_MMFR3) >> 12) & 0xf) < 2; 14} 15 16static inline int cache_ops_need_broadcast(void) 17{ 18 return ((read_cpuid_ext(CPUID_EXT_MMFR3) >> 12) & 0xf) < 1; 19} 20 21#endif