summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scheduler_mp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/scheduler_mp.c b/src/scheduler_mp.c
index 7a7bd61e00..6a228e6b53 100644
--- a/src/scheduler_mp.c
+++ b/src/scheduler_mp.c
@@ -1069,9 +1069,6 @@ void rt_sched_post_ctx_switch(struct rt_thread *thread)
}
/* safe to access since irq is masked out */
pcpu->current_thread = thread;
-#ifdef ARCH_USING_HW_THREAD_SELF
- rt_hw_thread_set_self(thread);
-#endif /* ARCH_USING_HW_THREAD_SELF */
}
#ifdef RT_DEBUGING_CRITICAL