lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since d71331b was d71331b, checked in by Adam Hraska <adam.hraska+hos@…>, 13 years ago |
smp_call: Moved content of arch header to generic header.
|
-
Property mode
set to
100644
|
File size:
267 bytes
|
Line | |
---|
1 | #include <smp/smp_call.h>
|
---|
2 | #include <arch/smp/apic.h>
|
---|
3 | #include <arch/interrupt.h>
|
---|
4 | #include <cpu.h>
|
---|
5 |
|
---|
6 | #ifdef CONFIG_SMP
|
---|
7 |
|
---|
8 | void arch_smp_call_ipi(unsigned int cpu_id)
|
---|
9 | {
|
---|
10 | (void) l_apic_send_custom_ipi(cpus[cpu_id].arch.id, VECTOR_SMP_CALL_IPI);
|
---|
11 | }
|
---|
12 |
|
---|
13 | #endif /* CONFIG_SMP */
|
---|
14 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.