diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 14:31:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:41 +0100 |
commit | f8ff2a011cad523453cff8208b3dbd82aa66a110 (patch) | |
tree | 85779c8bf17337c0a734460cd50013d87afb7989 /c/src/lib/libbsp/i386/shared/smp/smp-imps.c | |
parent | score: Rename bsp_smp_initialize() (diff) | |
download | rtems-f8ff2a011cad523453cff8208b3dbd82aa66a110.tar.bz2 |
score: Delete bsp_smp_broadcast_interrupt()
Since the per-CPU SMP lock must be acquired and released to send the
message a single interrupt broadcast operations offers no benefits. If
synchronization is required, then a SMP barrier must be used anyway.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/shared/smp/smp-imps.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/i386/shared/smp/smp-imps.c b/c/src/lib/libbsp/i386/shared/smp/smp-imps.c index a2dbc32fea..6170beb1cb 100644 --- a/c/src/lib/libbsp/i386/shared/smp/smp-imps.c +++ b/c/src/lib/libbsp/i386/shared/smp/smp-imps.c @@ -803,9 +803,3 @@ void _CPU_SMP_Send_interrupt( uint32_t target_processor_index ) { send_ipi( target_processor_index, 0x30 ); } - -void bsp_smp_broadcast_interrupt(void) -{ - /* Single broadcast interrupt */ - send_ipi( 0, LAPIC_ICR_DS_ALLEX | 0x30 ); -} |