Changeset d71331b in mainline for kernel/generic/src/smp/smp_call.c
- Timestamp:
- 2012-07-01T20:54:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f8c11f
- Parents:
- 2ee1ccc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/smp/smp_call.c
r2ee1ccc rd71331b 6 6 #include <arch/barrier.h> 7 7 #include <arch/asm.h> /* interrupt_disable */ 8 #include <arch/smp/smp_call.h>9 10 8 11 9 … … 57 55 * If @a cpu_id is the local CPU, the function will be invoked 58 56 * directly. 57 * 58 * Interrupts must be enabled. Otherwise you run the risk 59 * of a deadlock. 59 60 * 60 61 * @param cpu_id Destination CPU's logical id (eg CPU->id) … … 105 106 /** Waits for a function invoked on another CPU asynchronously to complete. 106 107 * 108 * Does not sleep but rather spins. 109 * 107 110 * Example usage: 108 111 * @code … … 123 126 call_wait(call_info); 124 127 } 128 129 #ifdef CONFIG_SMP 125 130 126 131 /** Architecture independent smp call IPI handler. … … 152 157 } 153 158 159 #endif /* CONFIG_SMP */ 154 160 155 161 static void call_start(smp_call_t *call_info, smp_call_func_t func, void *arg) … … 194 200 195 201 196 /*197 void smp_broadcast_call(smp_call_func_t func, void *arg)198 {199 }200 */201
Note:
See TracChangeset
for help on using the changeset viewer.