X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fsmp.h;h=4d28e1e4521b8c39992d327a4d0699d8f0df4ba2;hb=9fec6060d9e48ed7db0dac0e16d0f0f0e615b7f6;hp=416d4c288ceadca055b6d5c5be33f83b7e71c3a6;hpb=8df1b049bc86495a40e421abc8b9cf1dda32f0d9;p=linux-2.6 diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index 416d4c288c..4d28e1e452 100644 --- a/include/asm-powerpc/smp.h +++ b/include/asm-powerpc/smp.h @@ -62,6 +62,8 @@ extern int smp_hw_index[]; #endif DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); +DECLARE_PER_CPU(cpumask_t, cpu_core_map); +extern int cpu_to_core_id(int cpu); /* Since OpenPIC has only 4 IPIs, we use slightly different message numbers. *