Skip to content
Snippets Groups Projects
Commit ea96d0c9 authored by Todd Kjos's avatar Todd Kjos Committed by Treehugger Robot
Browse files

ANDROID: sched: Fix kernelci build-break: undefined symbol


Fix incorrectly #ifdef'd call to 'stack_trace_save_tsk()'

kernel/sched/core.c: In function ‘__schedule’:
kernel/sched/core.c:7726:25: error: implicit declaration of function ‘stack_trace_save_tsk’ [-Wimplicit-function-declaration]
 7726 |                         stack_trace_save_tsk(prev, &blocked_func, 1, 0);
      |                         ^~~~~~~~~~~~~~~~~~~~

Found in 32-bit arm allmodconfig build by kernelci

Fixes: b24c1517d9cc ("ANDROID: Fix invalid caller output in trace_sched_blocked_reason")
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: I04937654d569494612bfaf00a7203c24a77528fd
(cherry picked from commit 84b50ad5a2d107a58fe9cba7197af7d8dfa6593a)
parent e3a05614
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment