diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/test_codec.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 542f6edf2f..5eb9ad3988 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -485,6 +485,19 @@ static void init_ci(void) | |||
485 | ci.invalidate_icache = invalidate_icache; | 485 | ci.invalidate_icache = invalidate_icache; |
486 | ci.flush_icache = flush_icache; | 486 | ci.flush_icache = flush_icache; |
487 | #endif | 487 | #endif |
488 | |||
489 | #if NUM_CORES > 1 | ||
490 | ci.create_thread = rb->create_thread; | ||
491 | ci.thread_thaw = rb->thread_thaw; | ||
492 | ci.thread_wait = rb->thread_wait; | ||
493 | ci.semaphore_init = rb->semaphore_init; | ||
494 | ci.semaphore_wait = rb->semaphore_wait; | ||
495 | ci.semaphore_release = rb->semaphore_release; | ||
496 | ci.event_init = rb->event_init; | ||
497 | ci.event_wait = rb->event_wait; | ||
498 | ci.event_set_state = rb->event_set_state; | ||
499 | #endif | ||
500 | |||
488 | } | 501 | } |
489 | 502 | ||
490 | static void codec_thread(void) | 503 | static void codec_thread(void) |