kernel/sched/psi.c: In function ‘cgroup_move_task’: | |
kernel/sched/psi.c:661:7: error: implicit declaration of function ‘task_rq_lock’; did you mean ‘task_unlock’? [-Werror=implicit-function-declarati | |
on] | |
rq = task_rq_lock(task, &rf); | |
^~~~~~~~~~~~ | |
task_unlock | |
kernel/sched/psi.c:661:5: warning: assignment to ‘struct rq *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | |
rq = task_rq_lock(task, &rf); | |
^ | |
kernel/sched/psi.c:663:6: error: implicit declaration of function ‘task_on_rq_queued’ [-Werror=implicit-function-declaration] | |
if (task_on_rq_queued(task)) | |
^~~~~~~~~~~~~~~~~ | |
kernel/sched/psi.c:680:2: error: implicit declaration of function ‘task_rq_unlock’; did you mean ‘task_unlock’? [-Werror=implicit-function-declara | |
tion] | |
task_rq_unlock(rq, task, &rf); | |
^~~~~~~~~~~~~~ | |
task_unlock | |
cc1: some warnings being treated as errors | |
make[2]: *** [scripts/Makefile.build:292: kernel/sched/psi.o] Error 1 | |
make[1]: *** [scripts/Makefile.build:516: kernel/sched] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment