Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298032
b: refs/heads/master
c: 9505626
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney authored and Len Brown committed Mar 30, 2012
1 parent 597859e commit 9c22ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: e252675fb722d4a307cc380a06a905f03cf9951c
refs/heads/master: 9505626d7bfeb5bd4b85acb483831ac640b2a5e8
3 changes: 1 addition & 2 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1159,8 +1159,7 @@ int acpi_processor_cst_has_changed(struct acpi_processor *pr)
* to make the code that updates C-States be called once.
*/

if (smp_processor_id() == 0 &&
cpuidle_get_driver() == &acpi_idle_driver) {
if (pr->id == 0 && cpuidle_get_driver() == &acpi_idle_driver) {

cpuidle_pause_and_lock();
/* Protect against cpu-hotplug */
Expand Down

0 comments on commit 9c22ea9

Please sign in to comment.