Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libsel4benchsupport/src/support.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,12 +509,12 @@ void benchmark_init_timer(env_t *env)

rpc_client = &env->rpc_client;

#ifndef CONFIG_LIB_PLAT_SUPPORT_NO_PLATFORM_LTIMER
#ifdef CONFIG_LIB_PLAT_SUPPORT_HAVE_TIMER
int error = ltimer_default_init(&env->ltimer, env->io_ops, NULL, NULL);
ZF_LOGF_IF(error, "Failed to init timer");
#else
ZF_LOGF("Platform does not support ltimers");
#endif /* CONFIG_LIB_PLAT_SUPPORT_NO_PLATFORM_LTIMER */
#endif /* CONFIG_LIB_PLAT_SUPPORT_HAVE_TIMER */

/* Restore the vka utspace functions */
env->slab_vka.utspace_alloc_at = utspace_alloc_copy;
Expand Down