Re: [PATCH v4 2/2] cpuidle: allow setting deepest idle

From: kbuild test robot
Date: Mon Nov 28 2016 - 20:00:00 EST

Hi Jacob,

[auto build test ERROR on tip/sched/core]
[also build test ERROR on v4.9-rc7 next-20161128]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: sh-sh7785lcr_32bit_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh

All errors (new ones prefixed by >>):

kernel/built-in.o: In function `cpuidle_idle_call':
>> kernel/sched/idle.c:197: undefined reference to `cpuidle_find_deepest_state'

vim +197 kernel/sched/idle.c

37352273 Peter Zijlstra 2014-04-11 191 exit_idle:
8ca3c642 Daniel Lezcano 2014-03-03 192 __current_set_polling();
8ca3c642 Daniel Lezcano 2014-03-03 193
a1d028bd Daniel Lezcano 2014-03-03 194 /*
37352273 Peter Zijlstra 2014-04-11 195 * It is up to the idle functions to reenable local interrupts
a1d028bd Daniel Lezcano 2014-03-03 196 */
c8cc7d4d Daniel Lezcano 2014-03-03 @197 if (WARN_ON_ONCE(irqs_disabled()))
c8cc7d4d Daniel Lezcano 2014-03-03 198 local_irq_enable();
c8cc7d4d Daniel Lezcano 2014-03-03 199
c8cc7d4d Daniel Lezcano 2014-03-03 200 rcu_idle_exit();

:::::: The code at line 197 was first introduced by commit
:::::: c8cc7d4de7a4f2fb1f8774ec2de5b49c46c42e64 sched/idle: Reorganize the idle loop

:::::: TO: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip