move get_core_num() into platform.h (#852)
This commit is contained in:
@ -86,8 +86,6 @@ bool is_spin_locked(const spin_lock_t *lock);
|
||||
|
||||
void spin_unlock(spin_lock_t *lock, uint32_t saved_irq);
|
||||
|
||||
uint get_core_num();
|
||||
|
||||
spin_lock_t *spin_lock_init(uint lock_num);
|
||||
|
||||
void clear_spin_locks(void);
|
||||
|
@ -139,6 +139,9 @@ static inline int32_t __mul_instruction(int32_t a,int32_t b)
|
||||
|
||||
static inline void __compiler_memory_barrier(void) {
|
||||
}
|
||||
|
||||
uint get_core_num();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user