Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204731
b: refs/heads/master
c: 940ce42
h: refs/heads/master
i:
  204729: 390c43e
  204727: 32f8195
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Jul 31, 2010
1 parent e2ba9dd commit 0f5eb8d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d77cb21b578a5428482bc0fd187f7c0518a0b32a
refs/heads/master: 940ce422a367c8e65404a5ef1ff5969527a06410
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/pseries/hotplug-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ static void pseries_cpu_die(unsigned int cpu)

if (get_preferred_offline_state(cpu) == CPU_STATE_INACTIVE) {
cpu_status = 1;
for (tries = 0; tries < 1000; tries++) {
for (tries = 0; tries < 5000; tries++) {
if (get_cpu_current_state(cpu) == CPU_STATE_INACTIVE) {
cpu_status = 0;
break;
}
cpu_relax();
msleep(1);
}
} else if (get_preferred_offline_state(cpu) == CPU_STATE_OFFLINE) {

Expand Down

0 comments on commit 0f5eb8d

Please sign in to comment.