tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head: 0ada0002925d44721185d2230c95aad477467369
commit: 0ada0002925d44721185d2230c95aad477467369 [10/10] sched: Clean up scheduler_ipi()
config: arc-defconfig (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 0ada0002925d44721185d2230c95aad477467369
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/sched/core.c: In function 'sched_init':
> kernel/sched/core.c:6686:3: error: implicit declaration of
function 'rq_csd_init'; did you mean 'rcu_init'?
[-Werror=implicit-function-declaration]
6686 | rq_csd_init(rq,
&rq->wake_csd, wake_csd_func);
| ^~~~~~~~~~~
| rcu_init
cc1: some warnings being treated as errors
vim +6686 kernel/sched/core.c
6667
6668 rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;
6669 #ifdef CONFIG_RT_GROUP_SCHED
6670 init_tg_rt_entry(&root_task_group, &rq->rt, NULL, i, NULL);
6671 #endif
6672 #ifdef CONFIG_SMP
6673 rq->sd = NULL;
6674 rq->rd = NULL;
6675 rq->cpu_capacity = rq->cpu_capacity_orig = SCHED_CAPACITY_SCALE;
6676 rq->balance_callback = NULL;
6677 rq->active_balance = 0;
6678 rq->next_balance = jiffies;
6679 rq->push_cpu = 0;
6680 rq->cpu = i;
6681 rq->online = 0;
6682 rq->idle_stamp = 0;
6683 rq->avg_idle = 2*sysctl_sched_migration_cost;
6684 rq->max_idle_balance_cost = sysctl_sched_migration_cost;
6685
6686 rq_csd_init(rq, &rq->wake_csd, wake_csd_func);
6687
6688 INIT_LIST_HEAD(&rq->cfs_tasks);
6689
6690 rq_attach_root(rq, &def_root_domain);
6691 #ifdef CONFIG_NO_HZ_COMMON
6692 rq->last_blocked_load_update_tick = jiffies;
6693 atomic_set(&rq->nohz_flags, 0);
6694
6695 rq_csd_init(rq, &rq->nohz_csd, nohz_csd_func);
6696 #endif
6697 #endif /* CONFIG_SMP */
6698 hrtick_rq_init(rq);
6699 atomic_set(&rq->nr_iowait, 0);
6700 }
6701
6702 set_load_weight(&init_task, false);
6703
6704 /*
6705 * The boot idle thread does lazy MMU switching as well:
6706 */
6707 mmgrab(&init_mm);
6708 enter_lazy_tlb(&init_mm, current);
6709
6710 /*
6711 * Make us the idle thread. Technically, schedule() should not be
6712 * called from this thread, however somewhere below it might be,
6713 * but because we are the idle thread, we just pick up running again
6714 * when this runqueue becomes "idle".
6715 */
6716 init_idle(current, smp_processor_id());
6717
6718 calc_load_update = jiffies + LOAD_FREQ;
6719
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org