summaryrefslogtreecommitdiff
path: root/firmware/asm/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/asm/arm')
-rw-r--r--firmware/asm/arm/thread.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/asm/arm/thread.c b/firmware/asm/arm/thread.c
index fd443f2873..cf685526e3 100644
--- a/firmware/asm/arm/thread.c
+++ b/firmware/asm/arm/thread.c
@@ -34,9 +34,7 @@ static void __attribute__((naked)) USED_ATTR start_thread(void)
34 "mov r1, #0 \n" /* Mark thread as running */ 34 "mov r1, #0 \n" /* Mark thread as running */
35 "str r1, [r0, #40] \n" 35 "str r1, [r0, #40] \n"
36#if NUM_CORES > 1 36#if NUM_CORES > 1
37 "ldr r0, =commit_discard_idcache \n" /* Invalidate this core's cache. */ 37 "bl commit_discard_idcache \n" /* Invalidate this core's cache. */
38 "mov lr, pc \n" /* This could be the first entry into */
39 "bx r0 \n" /* plugin or codec code for this core. */
40#endif 38#endif
41 "mov lr, pc \n" /* Call thread function */ 39 "mov lr, pc \n" /* Call thread function */
42 "bx r4 \n" 40 "bx r4 \n"