aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/processor.h5
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);
174extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c); 174extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);
175extern void init_amd_cacheinfo(struct cpuinfo_x86 *c); 175extern 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 */
181extern unsigned short num_cache_leaves;
177extern int get_shared_cpu_map(cpumask_var_t mask, 182extern 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