lkml.org 
[lkml]   [2021]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] sched: Tweak default dynamic preempt mode selection
Date
On 06/11/21 13:05, kernel test robot wrote:
> kernel/sched/core.c:3439:6: error: no previous prototype for function 'sched_set_stop_task' [-Werror,-Wmissing-prototypes]
> void sched_set_stop_task(int cpu, struct task_struct *stop)
> ^
> kernel/sched/core.c:3439:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> void sched_set_stop_task(int cpu, struct task_struct *stop)
> ^
> static
>>> kernel/sched/core.c:6576:2: error: use of undeclared identifier '__SCT__preempt_schedule'
> static_call_update(preempt_schedule, __preempt_schedule_func);
> ^

Doh, I broke the

PREEMPT_DYNAMIC
select PREEMPT

thing - the above happens with PREEMPT_DYNAMIC && !PREEMPT. Lemme fix.

\
 
 \ /
  Last update: 2021-11-08 13:03    [W:0.165 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site