aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_timer_perf.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-02-03 14:43:45 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-03-02 16:13:27 +0200
commit74baf52ba807a31928dd7d2bcd68510aeb75af52 (patch)
treea4c6946d00b1b49437599f38c5f63335cbf1ce57 /test/performance/odp_timer_perf.c
parent3cd855a932bca0461ed609e5b92876dba3337650 (diff)
test: remove usage of deprecated schedule priority defines
Replace usage of deprecated schedule priority defines with matching functions. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'test/performance/odp_timer_perf.c')
-rw-r--r--test/performance/odp_timer_perf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/performance/odp_timer_perf.c b/test/performance/odp_timer_perf.c
index f1c4943bf..998db628e 100644
--- a/test/performance/odp_timer_perf.c
+++ b/test/performance/odp_timer_perf.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2019-2021, Nokia
+/* Copyright (c) 2019-2022, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -359,7 +359,7 @@ static int create_timer_pools(test_global_t *global)
odp_queue_param_init(&queue_param);
queue_param.type = ODP_QUEUE_TYPE_SCHED;
- queue_param.sched.prio = ODP_SCHED_PRIO_DEFAULT;
+ queue_param.sched.prio = odp_schedule_default_prio();
queue_param.sched.sync = ODP_SCHED_SYNC_ATOMIC;
queue_param.sched.group = ODP_SCHED_GROUP_ALL;