summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTomasz Michalec <tm@semihalf.com>2021-06-11 16:38:44 +0200
committerCommit Bot <commit-bot@chromium.org>2021-06-30 08:49:31 +0000
commitd92274769d4590fb49fae2c9a478342d56b96834 (patch)
tree31585cd508793bb5a98e4b68b05886d4ccf3b7f0 /common
parent8f98839255b6bdccd21610454818b0d75e40414e (diff)
downloadchrome-ec-d92274769d4590fb49fae2c9a478342d56b96834.tar.gz
zephyr: tasks: fix task id for deferred calls
In Zephyr deferred calls are run in k_sys_work_queue context instead of thread running hook_task(). Because of that shimmed task_get_current() is modfied to return TASK_ID_HOOKS if run from k_sys_work_queue context. BUG=b:190727776 TEST=make hosttest BRANCH=none Signed-off-by: Tomasz Michalec <tm@semihalf.com> Change-Id: I9e15627df8dce6b0829ad872150cbe2318330f28 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2953225 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions