diff --git a/firmware/thread.c b/firmware/thread.c index eba27b74d5..a4981af256 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -888,6 +888,10 @@ struct thread_entry* #if NUM_CORES > 1 thread->core = core; + + /* Writeback stack munging or anything else before starting */ + if (core != CURRENT_CORE) + flush_icache(); #endif regs = &thread->context;