kernel: sched: Fixed incorrect argument type of _reschedule()
This API shouldn't take a int type but instead it should take u32_t. This argument has to be similar to irq_lock() and irq_unlock(). Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
parent
d591588ab5
commit
1424561252
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ int _is_thread_time_slicing(struct k_thread *thread);
|
|||
void _unpend_thread_no_timeout(struct k_thread *thread);
|
||||
int _pend_current_thread(int key, _wait_q_t *wait_q, s32_t timeout);
|
||||
void _pend_thread(struct k_thread *thread, _wait_q_t *wait_q, s32_t timeout);
|
||||
void _reschedule(int key);
|
||||
void _reschedule(u32_t key);
|
||||
struct k_thread *_unpend_first_thread(_wait_q_t *wait_q);
|
||||
void _unpend_thread(struct k_thread *thread);
|
||||
int _unpend_all(_wait_q_t *wait_q);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue