Changeset 58775d30 in mainline for kernel/arch/sparc64/src/smp/sun4u/ipi.c
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2003739
- Parents:
- 6069061 (diff), 795e2bf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/smp/sun4u/ipi.c
r6069061 r58775d30 34 34 35 35 #include <smp/ipi.h> 36 #include <arch/smp/sun4u/ipi.h> 36 37 #include <cpu.h> 37 38 #include <arch.h> … … 40 41 #include <config.h> 41 42 #include <mm/tlb.h> 43 #include <smp/smp_call.h> 42 44 #include <arch/interrupt.h> 43 45 #include <arch/trap/interrupt.h> … … 171 173 } 172 174 175 176 /* 177 * Deliver an IPI to the specified processors (except the current one). 178 * 179 * Interrupts must be disabled. 180 * 181 * @param cpu_id Destination cpu id (index into cpus array). Must not 182 * be the current cpu. 183 * @param ipi IPI number. 184 */ 185 void ipi_unicast_arch(unsigned int cpu_id, int ipi) 186 { 187 ASSERT(&cpus[cpu_id] != CPU); 188 189 if (ipi == IPI_SMP_CALL) { 190 cross_call(cpus[cpu_id].arch.mid, smp_call_ipi_recv); 191 } else { 192 panic("Unknown IPI (%d).\n", ipi); 193 return; 194 } 195 } 196 173 197 /** @} 174 198 */
Note:
See TracChangeset
for help on using the changeset viewer.