From e3d10392ecff5ea8b78ab27f44e5de9641186dc3 Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Fri, 2 Feb 2024 17:56:33 +0800 Subject: [PATCH] osperf: changes irq_t to irqstat_t Signed-off-by: yinshengkai --- benchmarks/osperf/osperf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/osperf/osperf.c b/benchmarks/osperf/osperf.c index 54a578f25ba..66d24ac3f16 100644 --- a/benchmarks/osperf/osperf.c +++ b/benchmarks/osperf/osperf.c @@ -131,7 +131,7 @@ static size_t performance_gettime(FAR struct performance_time_s *result) static FAR void *pthread_switch_task(FAR void *arg) { FAR struct performance_thread_s *perf = arg; - irq_t flags = enter_critical_section(); + irqstate_t flags = enter_critical_section(); sem_wait(&perf->sem); performance_end(&perf->time); leave_critical_section(flags); @@ -353,7 +353,7 @@ static void performance_run(const FAR struct performance_entry_s *item, for (i = 0; i < count; i++) { - irq_t flags = enter_critical_section(); + irqstate_t flags = enter_critical_section(); size_t time = item->entry(); leave_critical_section(flags);