]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/oprofile/op_model_p4.c
x86: change FIRST_SYSTEM_VECTOR to a variable
[linux-2.6-omap-h63xx.git] / arch / x86 / oprofile / op_model_p4.c
index 47925927b12f7cd7a7d293a021dc063d7462367c..56b4757a1f4706cef329fac43c38e71fcd491bd6 100644 (file)
@@ -379,7 +379,7 @@ static unsigned int get_stagger(void)
 {
 #ifdef CONFIG_SMP
        int cpu = smp_processor_id();
-       return (cpu != first_cpu(cpu_sibling_map[cpu]));
+       return (cpu != first_cpu(per_cpu(cpu_sibling_map, cpu)));
 #endif 
        return 0;
 }