diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/test_codec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 01166cc025..2918f611a1 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -30,6 +30,8 @@ PLUGIN_HEADER | |||
30 | 30 | ||
31 | static struct plugin_api* rb; | 31 | static struct plugin_api* rb; |
32 | 32 | ||
33 | CACHE_FUNCTION_WRAPPERS(rb) | ||
34 | |||
33 | /* Log functions copied from test_disk.c */ | 35 | /* Log functions copied from test_disk.c */ |
34 | static int line = 0; | 36 | static int line = 0; |
35 | static int max_line = 0; | 37 | static int max_line = 0; |
@@ -484,6 +486,11 @@ static void init_ci(void) | |||
484 | ci.profile_func_enter = rb->profile_func_enter; | 486 | ci.profile_func_enter = rb->profile_func_enter; |
485 | ci.profile_func_exit = rb->profile_func_exit; | 487 | ci.profile_func_exit = rb->profile_func_exit; |
486 | #endif | 488 | #endif |
489 | |||
490 | #ifdef CACHE_FUNCTIONS_AS_CALL | ||
491 | ci.invalidate_icache = invalidate_icache; | ||
492 | ci.flush_icache = flush_icache; | ||
493 | #endif | ||
487 | } | 494 | } |
488 | 495 | ||
489 | static void codec_thread(void) | 496 | static void codec_thread(void) |