summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qoriq
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-17 14:31:32 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 09:59:41 +0100
commitf8ff2a011cad523453cff8208b3dbd82aa66a110 (patch)
tree85779c8bf17337c0a734460cd50013d87afb7989 /c/src/lib/libbsp/powerpc/qoriq
parentscore: Rename bsp_smp_initialize() (diff)
downloadrtems-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 'c/src/lib/libbsp/powerpc/qoriq')
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/startup/smp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/startup/smp.c b/c/src/lib/libbsp/powerpc/qoriq/startup/smp.c
index ea9d1cbb45..d124303f15 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/startup/smp.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/startup/smp.c
@@ -163,12 +163,6 @@ uint32_t _CPU_SMP_Initialize(uint32_t configured_cpu_count)
return cores;
}
-void bsp_smp_broadcast_interrupt(void)
-{
- uint32_t self = ppc_processor_id();
- qoriq.pic.per_cpu [self].ipidr [IPI_INDEX].reg = ALL_CORES;
-}
-
void _CPU_SMP_Send_interrupt(uint32_t target_processor_index)
{
uint32_t self = ppc_processor_id();