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


Groups > linux.kernel > #1585159

Re: [PATCH] sched/core: include asm/paravirt.h

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] sched/core: include asm/paravirt.h
Date 2017-02-21 10:30 +0100
Message-ID <tdeVH-B8-7@gated-at.bofh.it> (permalink)
References <tbS1b-5xl-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 17, 2017 at 3:43 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> One of the headers that got removed was needed after all, depending
> on the configuration:
>
> kernel/sched/core.c: In function 'update_rq_clock_task':
> kernel/sched/core.c:198:50: error: 'paravirt_steal_rq_enabled' undeclared (first use in this function); did you mean 'arch_local_irq_enable'?
>
> This restores the include.
>
> Fixes: 004172bdad64 ("sched/core: Remove unnecessary #include headers")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

The broken patch has now made it into mainline, according to the output of the
build bots.

    Arnd

>  kernel/sched/core.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index e2687118a878..c98f2fd8c0d3 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -23,6 +23,9 @@
>
>  #include <asm/switch_to.h>
>  #include <asm/tlb.h>
> +#ifdef CONFIG_PARAVIRT
> +#include <asm/paravirt.h>
> +#endif
>
>  #include "sched.h"
>  #include "../workqueue_internal.h"
> --
> 2.9.0
>

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


Thread

[PATCH] sched/core: include asm/paravirt.h Arnd Bergmann <arnd@arndb.de> - 2017-02-17 15:50 +0100
  Re: [PATCH] sched/core: include asm/paravirt.h Arnd Bergmann <arnd@arndb.de> - 2017-02-21 10:30 +0100
    Re: [PATCH] sched/core: include asm/paravirt.h Ingo Molnar <mingo@kernel.org> - 2017-02-24 09:50 +0100
      Re: [PATCH] sched/core: include asm/paravirt.h Arnd Bergmann <arnd@arndb.de> - 2017-02-24 10:40 +0100
        Re: [PATCH] sched/core: include asm/paravirt.h Ingo Molnar <mingo@kernel.org> - 2017-02-24 12:20 +0100

csiph-web