[kernel] remove switchto_sethook
This commit is contained in:
parent
05bb1a50b0
commit
3dfebe337a
|
@ -186,7 +186,6 @@ rt_uint16_t rt_critical_level(void);
|
||||||
|
|
||||||
#ifdef RT_USING_HOOK
|
#ifdef RT_USING_HOOK
|
||||||
void rt_scheduler_sethook(void (*hook)(rt_thread_t from, rt_thread_t to));
|
void rt_scheduler_sethook(void (*hook)(rt_thread_t from, rt_thread_t to));
|
||||||
void rt_scheduler_switchto_sethook(void (*hook)(struct rt_thread *tid));
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RT_USING_SMP
|
#ifdef RT_USING_SMP
|
||||||
|
|
Loading…
Reference in New Issue