diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 254dd2b81632..add9c7117751 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -174,6 +174,11 @@ extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c); | |||
174 | extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); | 174 | extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); |
175 | extern void init_amd_cacheinfo(struct cpuinfo_x86 *c); | 175 | extern void init_amd_cacheinfo(struct cpuinfo_x86 *c); |
176 | #ifdef CONFIG_SYSFS | 176 | #ifdef CONFIG_SYSFS |
177 | /* Note: commit 04a1541828ea223169eb44a336bfad8ec0dfb46a hid num_cache_leaves, | ||
178 | * but LITMUS^RT currently still depends on it. | ||
179 | * FIXME: port LITMUS^RT's affinity-aware scheduling to use proper interfaces. | ||
180 | */ | ||
181 | extern unsigned short num_cache_leaves; | ||
177 | extern int get_shared_cpu_map(cpumask_var_t mask, | 182 | extern int get_shared_cpu_map(cpumask_var_t mask, |
178 | unsigned int cpu, int index); | 183 | unsigned int cpu, int index); |
179 | #endif | 184 | #endif |