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:
Benjamin Walsh 2016-11-18 16:08:24 -05:00 committed by Anas Nashif
commit a4e033fdba
3 changed files with 5 additions and 5 deletions

View file

@ -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);
}
/**