kernel: fix obsolete access to fields in K_DEBUG() calls
When moving arch-specific thread structure to arch-agnostic, some field accesses were missed when used in K_DEBUG statements, which are turned off by default. Change-Id: Ife0f49b8185a0db468deab73555f7034f20ca3e8 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
669360d5ec
commit
a4e033fdba
3 changed files with 5 additions and 5 deletions
|
@ -204,7 +204,7 @@ static inline void _sched_lock(void)
|
|||
atomic_inc(&_current->base.sched_locked);
|
||||
|
||||
K_DEBUG("scheduler locked (%p:%d)\n",
|
||||
_current, _current->sched_locked);
|
||||
_current, _current->base.sched_locked);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue