From 26891e91176eb7b3d98dbaaa35d291d99c75d287 Mon Sep 17 00:00:00 2001 From: wangxiaoyao Date: Mon, 20 Feb 2023 15:24:26 +0800 Subject: [PATCH] [fix] pipeline --- libcpu/aarch64/common/tlb.h | 2 +- src/signal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcpu/aarch64/common/tlb.h b/libcpu/aarch64/common/tlb.h index e92735a6b3..d5267b32a2 100644 --- a/libcpu/aarch64/common/tlb.h +++ b/libcpu/aarch64/common/tlb.h @@ -50,7 +50,7 @@ static inline void rt_hw_tlb_invalidate_all_local(void) static inline void rt_hw_tlb_invalidate_aspace(rt_aspace_t aspace) { - rt_hw_tlb_invalidate_all_local(); + rt_hw_tlb_invalidate_all(); } static inline void rt_hw_tlb_invalidate_page(rt_aspace_t aspace, void *start) diff --git a/src/signal.c b/src/signal.c index 17618e2ed6..51f92fbde4 100644 --- a/src/signal.c +++ b/src/signal.c @@ -56,7 +56,7 @@ static void _signal_entry(void *parameter) { struct rt_cpu* pcpu = rt_cpu_self(); - RT_ASSERT(current_thread->cpus_lock_nest > 0); + RT_ASSERT(pcpu->current_thread->cpus_lock_nest > 0); pcpu->current_thread->cpus_lock_nest--; if (pcpu->current_thread->cpus_lock_nest == 0) {