Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10989
b: refs/heads/master
c: 57f0060
h: refs/heads/master
i:
  10987: deec589
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 8840ec8 commit d920d8c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 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: 26852d5cdb2bac01f2a48b815194a045e8a8e300
refs/heads/master: 57f0060b8a2bb2a70a4cce1a37d5e0158cea92a6
14 changes: 13 additions & 1 deletion trunk/arch/mips/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,19 @@ struct call_data_struct *call_data;
* or are or have executed.
*
* You must not call this function with disabled interrupts or from a
* hardware interrupt handler or from a bottom half handler.
* hardware interrupt handler or from a bottom half handler:
*
* CPU A CPU B
* Disable interrupts
* smp_call_function()
* Take call_lock
* Send IPIs
* Wait for all cpus to acknowledge IPI
* CPU A has not responded, spin waiting
* for cpu A to respond, holding call_lock
* smp_call_function()
* Spin waiting for call_lock
* Deadlock Deadlock
*/
int smp_call_function (void (*func) (void *info), void *info, int retry,
int wait)
Expand Down

0 comments on commit d920d8c

Please sign in to comment.