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 /include | |
| parent | f5426f4a860aa7b16827aea1dd611fbd49d1f90c (diff) | |
remove rt_hw_mb define
sync smp skeleton
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 4 | ||||
| -rw-r--r-- | include/rthw.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 253ec36968..8ae4e2ad4f 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -507,8 +507,8 @@ typedef siginfo_t rt_siginfo_t; #define RT_CPU_DETACHED RT_CPUS_NR /**< The thread not running on cpu. */ #define RT_CPU_MASK ((1 << RT_CPUS_NR) - 1) /**< All CPUs mask bit. */ -#ifndef RT_SCHEDULE_IPI_IRQ -#define RT_SCHEDULE_IPI_IRQ 0 +#ifndef RT_SCHEDULE_IPI +#define RT_SCHEDULE_IPI 0 #endif /** diff --git a/include/rthw.h b/include/rthw.h index 8c731e6c53..dee10b0bee 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -146,8 +146,6 @@ typedef union { void rt_hw_spin_lock(rt_hw_spinlock_t *lock); void rt_hw_spin_unlock(rt_hw_spinlock_t *lock); -void rt_hw_mb(void); - int rt_hw_cpu_id(void); extern rt_hw_spinlock_t _cpus_lock; |
