Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117895
b: refs/heads/master
c: 7920c4d
h: refs/heads/master
i:
  117893: 756fa00
  117891: cb805a0
  117887: 4c4054b
v: v3
  • Loading branch information
Ralf Baechle committed Oct 27, 2008
1 parent d3fb13d commit c6587df
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f67ae98352284d7ac1e03f3a872e33c68ea35a5b
refs/heads/master: 7920c4d658ff2b0f7b8acf3bd7c700875c2bc163
6 changes: 4 additions & 2 deletions trunk/arch/mips/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,10 @@ static void stop_this_cpu(void *dummy)
* Remove this CPU:
*/
cpu_clear(smp_processor_id(), cpu_online_map);
local_irq_enable(); /* May need to service _machine_restart IPI */
for (;;); /* Wait if available. */
for (;;) {
if (cpu_wait)
(*cpu_wait)(); /* Wait if available. */
}
}

void smp_send_stop(void)
Expand Down

0 comments on commit c6587df

Please sign in to comment.