Merge branch 'pm-cpufreq'
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2013 23:44:40 +0000 (01:44 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2013 23:44:40 +0000 (01:44 +0200)
* pm-cpufreq: (60 commits)
  cpufreq: pmac32-cpufreq: remove device tree parsing for cpu nodes
  cpufreq: pmac64-cpufreq: remove device tree parsing for cpu nodes
  cpufreq: maple-cpufreq: remove device tree parsing for cpu nodes
  cpufreq: arm_big_little: remove device tree parsing for cpu nodes
  cpufreq: kirkwood-cpufreq: remove device tree parsing for cpu nodes
  cpufreq: spear-cpufreq: remove device tree parsing for cpu nodes
  cpufreq: highbank-cpufreq: remove device tree parsing for cpu nodes
  cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes
  cpufreq: imx6q-cpufreq: remove device tree parsing for cpu nodes
  drivers/bus: arm-cci: avoid parsing DT for cpu device nodes
  ARM: mvebu: remove device tree parsing for cpu nodes
  ARM: topology: remove hwid/MPIDR dependency from cpu_capacity
  of/device: add helper to get cpu device node from logical cpu index
  driver/core: cpu: initialize of_node in cpu's device struture
  ARM: DT/kernel: define ARM specific arch_match_cpu_phys_id
  of: move of_get_cpu_node implementation to DT core library
  powerpc: refactor of_get_cpu_node to support other architectures
  openrisc: remove undefined of_get_cpu_node declaration
  microblaze: remove undefined of_get_cpu_node declaration
  cpufreq: fix bad unlock balance on !CONFIG_SMP
  ...

1  2 
include/linux/cpu.h

diff --combined include/linux/cpu.h
index 956c0a16566f828a37773b8a913423921f3a3079,3dfed2b9ae2e73ac672993f207bda6b2cbe4add8..801ff9e73679a00d7f945d82253454a236319966
@@@ -28,6 -28,7 +28,7 @@@ struct cpu 
  extern int register_cpu(struct cpu *cpu, int num);
  extern struct device *get_cpu_device(unsigned cpu);
  extern bool cpu_is_hotpluggable(unsigned cpu);
+ extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id);
  
  extern int cpu_add_dev_attr(struct device_attribute *attr);
  extern void cpu_remove_dev_attr(struct device_attribute *attr);
@@@ -172,8 -173,6 +173,8 @@@ extern struct bus_type cpu_subsys
  #ifdef CONFIG_HOTPLUG_CPU
  /* Stop CPUs going up and down. */
  
 +extern void cpu_hotplug_begin(void);
 +extern void cpu_hotplug_done(void);
  extern void get_online_cpus(void);
  extern void put_online_cpus(void);
  extern void cpu_hotplug_disable(void);
@@@ -199,8 -198,6 +200,8 @@@ static inline void cpu_hotplug_driver_u
  
  #else         /* CONFIG_HOTPLUG_CPU */
  
 +static inline void cpu_hotplug_begin(void) {}
 +static inline void cpu_hotplug_done(void) {}
  #define get_online_cpus()     do { } while (0)
  #define put_online_cpus()     do { } while (0)
  #define cpu_hotplug_disable() do { } while (0)