lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since b1c57a8 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
|
Rev | Line | |
---|
[d71331b] | 1 | #include <smp/smp_call.h>
|
---|
[2ee1ccc] | 2 | #include <arch/smp/apic.h>
|
---|
| 3 | #include <arch/interrupt.h>
|
---|
| 4 | #include <cpu.h>
|
---|
| 5 |
|
---|
[d71331b] | 6 | #ifdef CONFIG_SMP
|
---|
[2ee1ccc] | 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 |
|
---|
[d71331b] | 13 | #endif /* CONFIG_SMP */
|
---|
| 14 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.