diff options
| author | shaojinchun <[email protected]> | 2018-12-17 10:21:40 +0800 |
|---|---|---|
| committer | shaojinchun <[email protected]> | 2018-12-17 11:02:09 +0800 |
| commit | eff767a0742b25116f4d0ac766107d4a21ed19cb (patch) | |
| tree | f8217f75aa51a310f405e1efa87057b619f52b7e /src | |
| parent | f5426f4a860aa7b16827aea1dd611fbd49d1f90c (diff) | |
remove rt_hw_mb define
sync smp skeleton
Diffstat (limited to 'src')
| -rw-r--r-- | src/scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scheduler.c b/src/scheduler.c index e177bde6b7..f2f77203f8 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -600,7 +600,7 @@ void rt_schedule_insert_thread(struct rt_thread *thread) rt_list_insert_before(&(rt_thread_priority_table[thread->current_priority]), &(thread->tlist)); cpu_mask = RT_CPU_MASK ^ (1 << cpu_id); - rt_hw_ipi_send(RT_SCHEDULE_IPI_IRQ, cpu_mask); + rt_hw_ipi_send(RT_SCHEDULE_IPI, cpu_mask); } else { @@ -617,7 +617,7 @@ void rt_schedule_insert_thread(struct rt_thread *thread) if (cpu_id != bind_cpu) { cpu_mask = 1 << bind_cpu; - rt_hw_ipi_send(RT_SCHEDULE_IPI_IRQ, cpu_mask); + rt_hw_ipi_send(RT_SCHEDULE_IPI, cpu_mask); } } |
