[rtems commit] bsp/leon3: Unmask IPI only on secondary processor
Sebastian Huber
sebh at rtems.org
Thu Mar 6 08:39:32 UTC 2014
Module: rtems
Branch: master
Commit: 7fe0561526122f6651a7df0bfad5f5b839452f3f
Changeset: http://git.rtems.org/rtems/commit/?id=7fe0561526122f6651a7df0bfad5f5b839452f3f
Author: Daniel Hellstrom <daniel at gaisler.com>
Date: Tue Feb 18 11:50:25 2014 +0100
bsp/leon3: Unmask IPI only on secondary processor
---
c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c b/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
index 1fb4957..2441f52 100644
--- a/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
+++ b/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
@@ -29,7 +29,7 @@ static rtems_isr bsp_inter_processor_interrupt(
void leon3_secondary_cpu_initialize(uint32_t cpu)
{
leon3_set_cache_control_register(0x80000F);
- LEON_Unmask_interrupt(LEON3_MP_IRQ);
+ /* Unmask IPI interrupts at Interrupt controller for this CPU */
LEON3_IrqCtrl_Regs->mask[cpu] |= 1 << LEON3_MP_IRQ;
_SMP_Start_multitasking_on_secondary_processor();
More information about the vc
mailing list