score: _SMP_Inter_processor_interrupt_handler()

Pass current processor control via parameter since it may be already
available at the caller side.
This commit is contained in:
Sebastian Huber
2018-07-23 14:54:51 +02:00
parent f8d00a3f19
commit 0d362ff397
7 changed files with 12 additions and 11 deletions

View File

@@ -109,7 +109,9 @@ void bsp_interrupt_dispatch(void)
if ( local_source & BCM2836_IRQ_SOURCE_MBOX3 ) {
/* reset mailbox 3 contents to zero */
BCM2835_REG(BCM2836_MAILBOX_3_READ_CLEAR_BASE + 0x10 * cpu_index_self) = 0xffffffff;
_SMP_Inter_processor_interrupt_handler();
_SMP_Inter_processor_interrupt_handler(
_Per_CPU_Get_by_index(cpu_index_self)
);
}
if ( cpu_index_self != 0 )
return;