Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Mar 2011 02:00:53 +0000 (19:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Mar 2011 02:00:53 +0000 (19:00 -0700)
* 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  x86: Fix and clean up generic_processor_info()
  x86: Don't copy per_cpu cpuinfo for BSP two times
  x86: Move llc_shared_map out of cpu_info

1  2 
arch/x86/include/asm/smp.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/smpboot.c

index c1bbfa89a0e222ce9e95f744141c8ccd070f03bc,bc6f84e11d32600be4e34d55938cbba502600060..99fa8b47381e1c60f6cfe500e94ece362266157f
  extern int smp_num_siblings;
  extern unsigned int num_processors;
  
 +static inline bool cpu_has_ht_siblings(void)
 +{
 +      bool has_siblings = false;
 +#ifdef CONFIG_SMP
 +      has_siblings = cpu_has_ht && smp_num_siblings > 1;
 +#endif
 +      return has_siblings;
 +}
 +
  DECLARE_PER_CPU(cpumask_var_t, cpu_sibling_map);
  DECLARE_PER_CPU(cpumask_var_t, cpu_core_map);
+ /* cpus sharing the last level cache: */
+ DECLARE_PER_CPU(cpumask_var_t, cpu_llc_shared_map);
  DECLARE_PER_CPU(u16, cpu_llc_id);
  DECLARE_PER_CPU(int, cpu_number);
  
Simple merge
Simple merge