Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288864
b: refs/heads/master
c: 976a0be
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent be425e2 commit 35f5bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3012e12cdc5825f93367cc6294419e7ab1f00cc
refs/heads/master: 976a0be03a15f1c268e3f569c0ade3e7ff8ce478
18 changes: 1 addition & 17 deletions trunk/drivers/acpi/processor_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ static __ref int acpi_processor_start(struct acpi_processor *pr)

#ifdef CONFIG_CPU_FREQ
acpi_processor_ppc_has_changed(pr, 0);
acpi_processor_load_module(pr);
#endif
acpi_processor_get_throttling_info(pr);
acpi_processor_get_limit_info(pr);
Expand Down Expand Up @@ -579,23 +580,6 @@ static int __cpuinit acpi_processor_add(struct acpi_device *device)
goto err_free_cpumask;
}

#ifdef CONFIG_CPU_FREQ
acpi_processor_ppc_has_changed(pr, 0);
acpi_processor_load_module(pr);
#endif
acpi_processor_get_throttling_info(pr);
acpi_processor_get_limit_info(pr);

if (!cpuidle_get_driver() || cpuidle_get_driver() == &acpi_idle_driver)
acpi_processor_power_init(pr, device);

pr->cdev = thermal_cooling_device_register("Processor", device,
&processor_cooling_ops);
if (IS_ERR(pr->cdev)) {
result = PTR_ERR(pr->cdev);
goto err_remove_sysfs;
}

/*
* Do not start hotplugged CPUs now, but when they
* are onlined the first time
Expand Down

0 comments on commit 35f5bdb

Please sign in to comment.