Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200422
b: refs/heads/master
c: b636f13
h: refs/heads/master
v: v3
  • Loading branch information
Matt Evans authored and Benjamin Herrenschmidt committed Jun 15, 2010
1 parent e13f056 commit d397795
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: 65cf840ff4b63852d34d577d559978ccfc554a6c
refs/heads/master: b636f1379eefe6eba931deaa386605bc7ac623e7
18 changes: 1 addition & 17 deletions trunk/arch/powerpc/kernel/machine_kexec_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,12 @@ static void kexec_prepare_cpus_wait(int wait_state)

my_cpu = get_cpu();
/* Make sure each CPU has atleast made it to the state we need */
for (i=0; i < NR_CPUS; i++) {
for_each_online_cpu(i) {
if (i == my_cpu)
continue;

while (paca[i].kexec_state < wait_state) {
barrier();
if (!cpu_possible(i)) {
printk("kexec: cpu %d hw_cpu_id %d is not"
" possible, ignoring\n",
i, paca[i].hw_cpu_id);
break;
}
if (!cpu_online(i)) {
/* Fixme: this can be spinning in
* pSeries_secondary_wait with a paca
* waiting for it to go online.
*/
printk("kexec: cpu %d hw_cpu_id %d is not"
" online, ignoring\n",
i, paca[i].hw_cpu_id);
break;
}
if (i != notified) {
printk( "kexec: waiting for cpu %d (physical"
" %d) to enter %i state\n",
Expand Down

0 comments on commit d397795

Please sign in to comment.