[dev][interrupt][arm_gic] Call sm_handle_fiq from platform_fiq

If WITH_LIB_SM is set, call sm_handle_fiq instead of sm_handle_irq
from platform_fiq. This is needed to allow sm_handle_irq to wake up
a thread instead of switching back to ns from the interrupt handler.

Change-Id: Idc728343bc31c07a3149d68730bd57ee28be08f8
This commit is contained in:
Arve Hjønnevåg
2015-03-02 20:30:47 -08:00
parent 5177e5ba40
commit 47e06a3f34

View File

@@ -439,7 +439,7 @@ enum handler_return platform_irq(struct arm_iframe *frame)
void platform_fiq(struct arm_iframe *frame)
{
#if WITH_LIB_SM
sm_handle_irq();
sm_handle_fiq();
#else
PANIC_UNIMPLEMENTED;
#endif