X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=arch%2Fs390%2Finclude%2Fasm%2Ftopology.h;h=dc8a67297d0f660c3047b8eba975350f729b886e;hb=9d35bc1ec696ebfc5662a0d00b4d36564ff3af53;hp=6e7211abd950c8fc3e742c2ee644ca6dcd388dfe;hpb=f579bbcd9bb8b688df03191b92c56ab8af4d6322;p=sfrench%2Fcifs-2.6.git diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h index 6e7211abd950..dc8a67297d0f 100644 --- a/arch/s390/include/asm/topology.h +++ b/arch/s390/include/asm/topology.h @@ -7,8 +7,10 @@ const struct cpumask *cpu_coregroup_mask(unsigned int cpu); +extern unsigned char cpu_core_id[NR_CPUS]; extern cpumask_t cpu_core_map[NR_CPUS]; +#define topology_core_id(cpu) (cpu_core_id[cpu]) #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) int topology_set_cpu_management(int fc);