diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-06-27 03:54:55 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-08-07 03:46:48 -0400 |
commit | 1412c8b72e192a14b8dd620f58a75f55a5490783 (patch) | |
tree | 425ebde8d99561478be3f1d3446aa17fa2fceb17 | |
parent | 0e409b1bf65deb8fb62e0d491b37c8b9a57d25c9 (diff) |
Export num_cache_leaves in asm/processor.h
This is required to make litmus/affinity.c compile.
-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 |