Hi, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.7-rc2 next-20160607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Wanpeng-Li/KVM-fix-steal-clock-warp-during-guest-cpu-hotplug/20160607-163708 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): In file included from kernel/sched/cputime.c:7:0: kernel/sched/sched.h: In function 'account_reset_rq': kernel/sched/sched.h:1819:24: error: implicit declaration of function 'paravirt_steal_clock' [-Werror=implicit-function-declaration] rq->prev_steal_time = paravirt_steal_clock(cpu_of(rq)); ^ In file included from kernel/sched/cputime.c:9:0: arch/arm/include/asm/paravirt.h: At top level: >> arch/arm/include/asm/paravirt.h:14:19: error: conflicting types for 'paravirt_steal_clock' static inline u64 paravirt_steal_clock(int cpu) ^ In file included from kernel/sched/cputime.c:7:0: kernel/sched/sched.h:1819:24: note: previous implicit declaration of 'paravirt_steal_clock' was here rq->prev_steal_time = paravirt_steal_clock(cpu_of(rq)); ^ cc1: some warnings being treated as errors vim +/paravirt_steal_clock +14 arch/arm/include/asm/paravirt.h 02c2433b Stefano Stabellini 2015-11-23 8 02c2433b Stefano Stabellini 2015-11-23 9 struct pv_time_ops { 02c2433b Stefano Stabellini 2015-11-23 10 unsigned long long (*steal_clock)(int cpu); 02c2433b Stefano Stabellini 2015-11-23 11 }; 02c2433b Stefano Stabellini 2015-11-23 12 extern struct pv_time_ops pv_time_ops; 02c2433b Stefano Stabellini 2015-11-23 13 02c2433b Stefano Stabellini 2015-11-23 @14 static inline u64 paravirt_steal_clock(int cpu) 02c2433b Stefano Stabellini 2015-11-23 15 { 02c2433b Stefano Stabellini 2015-11-23 16 return pv_time_ops.steal_clock(cpu); 02c2433b Stefano Stabellini 2015-11-23 17 } :::::: The code at line 14 was first introduced by commit :::::: 02c2433b3aa6b57313c261c9811bbbe49528101c arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops :::::: TO: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> :::::: CC: David Vrabel <david.vrabel@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data