|
@@ -528,6 +528,7 @@ static __cpuinit int threshold_create_bank(unsigned int cpu, unsigned int bank)
|
|
|
|
|
|
sprintf(name, "threshold_bank%i", bank);
|
|
|
|
|
|
+#ifdef CONFIG_SMP
|
|
|
if (cpu_data(cpu).cpu_core_id && shared_bank[bank]) { /* symlink */
|
|
|
i = cpumask_first(cpu_llc_shared_mask(cpu));
|
|
|
|
|
@@ -553,6 +554,7 @@ static __cpuinit int threshold_create_bank(unsigned int cpu, unsigned int bank)
|
|
|
|
|
|
goto out;
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
b = kzalloc(sizeof(struct threshold_bank), GFP_KERNEL);
|
|
|
if (!b) {
|