Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1261751

Re: [PATCH v10 2/5] missing include in cputime.c, remove #ifdef CONFIG_PARAVIRT from sched/core.c

From Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Newsgroups linux.kernel
Subject Re: [PATCH v10 2/5] missing include in cputime.c, remove #ifdef CONFIG_PARAVIRT from sched/core.c
Date 2015-11-03 19:00 +0100
Message-ID <qqO2f-5XS-25@gated-at.bofh.it> (permalink)
References <qqNpv-5Kb-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 4 Nov 2015, kbuild test robot wrote:
> Hi Stefano,
> 
> [auto build test ERROR on arm64/for-next/core]
> [cannot apply to: xen-tip/linux-next]
> [also ERROR on: v4.3 next-20151103]
> 
> url:    https://github.com/0day-ci/linux/commits/Stefano-Stabellini/xen-arm-arm64-CONFIG_PARAVIRT-and-stolen-ticks-accounting/20151104-002433
> base:   https://github.com/0day-ci/linux Stefano-Stabellini/xen-arm-arm64-CONFIG_PARAVIRT-and-stolen-ticks-accounting/20151104-002433
> config: mips-jz4740 (attached as .config)

Ah, of course! I only tested x86, arm and arm64, but this wouldn't work
on any arches without arm/paravirt.h. Damn.

I guess we'll have to keep

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#endif


BTW this auto build test is awesome.

> 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=mips 
> 
> All errors (new ones prefixed by >>):
> 
> >> kernel/sched/core.c:82:26: fatal error: asm/paravirt.h: No such file or directory
>    compilation terminated.
> --
> >> kernel/sched/cputime.c:8:26: fatal error: asm/paravirt.h: No such file or directory
>    compilation terminated.
> 
> vim +82 kernel/sched/core.c
> 
> 52f5684c kernel/sched/core.c Gideon Israel Dsouza  2014-04-07  76  #include <linux/compiler.h>
> ^1da177e kernel/sched.c      Linus Torvalds        2005-04-16  77  
> 96f951ed kernel/sched/core.c David Howells         2012-03-28  78  #include <asm/switch_to.h>
> 5517d86b kernel/sched.c      Eric Dumazet          2007-05-08  79  #include <asm/tlb.h>
> 838225b4 kernel/sched.c      Satyam Sharma         2007-10-24  80  #include <asm/irq_regs.h>
> db7e527d kernel/sched/core.c Christian Borntraeger 2012-01-11  81  #include <asm/mutex.h>
> e6e6685a kernel/sched.c      Glauber Costa         2011-07-11 @82  #include <asm/paravirt.h>
> ^1da177e kernel/sched.c      Linus Torvalds        2005-04-16  83  
> 029632fb kernel/sched.c      Peter Zijlstra        2011-10-25  84  #include "sched.h"
> ea138446 kernel/sched/core.c Tejun Heo             2013-01-18  85  #include "../workqueue_internal.h"
> 
> :::::: The code at line 82 was first introduced by commit
> :::::: e6e6685accfa81f509fadfc9624bc7c3862d75c4 KVM guest: Steal time accounting
> 
> :::::: TO: Glauber Costa <glommer@redhat.com>
> :::::: CC: Avi Kivity <avi@redhat.com>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v10 0/5] xen/arm/arm64: CONFIG_PARAVIRT and stolen ticks  accounting Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 17:20 +0100
  [PATCH v10 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 17:30 +0100
  [PATCH v10 2/5] missing include in cputime.c, remove #ifdef CONFIG_PARAVIRT from sched/core.c Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 17:30 +0100
    Re: [PATCH v10 2/5] missing include in cputime.c, remove #ifdef  CONFIG_PARAVIRT from sched/core.c kbuild test robot <lkp@intel.com> - 2015-11-03 18:20 +0100
      Re: [PATCH v10 2/5] missing include in cputime.c, remove #ifdef  CONFIG_PARAVIRT from sched/core.c Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 19:00 +0100
    Re: [PATCH v10 2/5] missing include in cputime.c, remove #ifdef  CONFIG_PARAVIRT from sched/core.c kbuild test robot <lkp@intel.com> - 2015-11-03 19:30 +0100
  [PATCH v10 5/5] xen/arm: account for stolen ticks Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 17:30 +0100
  [PATCH v10 3/5] arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 17:30 +0100
  [PATCH v10 1/5] xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-11-03 17:30 +0100

csiph-web