kernel: thread: correct type of dlist node

Although sys_dnode_t and sys_dlist_t are aliases, their roles are
different and they appear in different positions in dlist API calls.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
Peter A. Bigot 2019-01-03 23:49:28 -06:00 committed by Carles Cufí
commit 82ad0d24ca

View file

@ -388,7 +388,7 @@ struct _thread_base {
/* this thread's entry in a ready/wait queue */
union {
sys_dlist_t qnode_dlist;
sys_dnode_t qnode_dlist;
struct rbnode qnode_rb;
};