1. 23 8月, 2013 7 次提交
  2. 22 8月, 2013 11 次提交
  3. 21 8月, 2013 1 次提交
  4. 20 8月, 2013 16 次提交
  5. 13 8月, 2013 4 次提交
  6. 30 7月, 2013 1 次提交
    • H
      cpu topology: remove stale arch_provides_topology_pointers and define_siblings_show_map/list() · 29f1953d
      Hanjun Guo 提交于
      arch_provides_topology_pointers was introduced in commit 23ca4bba (x86:
      cleanup early per cpu variables/accesses v4) to indicate pointers to the
      topology cpumask_t maps are valid to avoid copying data on to/off of the
      stack.
      
      But later in commit fbd59a8d (cpumask: Use topology_core_cpumask()/
      topology_thread_cpumask()), the pointers to the topology struct cpumask maps
      are always valid.
      
      After that commit, the only difference is that there is a redundant
      "unsigned int cpu = dev->id;" if arch_provides_topology_pointers defined, but
      dev->id is type 'u32' which devolves to 'unsigned int' on all supported arches.
      So this arch_provides_topology_pointers define is pointless and only cause
      obfuscation now, remove it.
      
      Tested on x86 machine, topology information in sys/devices/system/cpu/
      cpuX/topology/ is the same after appling this patch set.
      Signed-off-by: NHanjun Guo <hanjun.guo@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      29f1953d