mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h
@ 2022-03-16 20:41 Randy Dunlap
  2022-03-21 15:38 ` Nathan Chancellor
  2022-03-22  8:02 ` [tip: sched/core] sched/headers: ARM needs asm/paravirt_api_clock.h too tip-bot2 for Randy Dunlap
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2022-03-16 20:41 UTC (permalink / raw)
  To: linux-kernel
  Cc: patches, Randy Dunlap, Ingo Molnar, Russell King,
	linux-arm-kernel, patches

Add <asm/paravirt_api_clock.h> for arch/arm/.

Fixes this build error:

In file included from ../kernel/sched/core.c:81:
../kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory
   87 | # include <asm/paravirt_api_clock.h>

Fixes: 4ff8f2ca6ccd ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Cc: patches@armlinux.org.uk
---
KernelVersion: linux-next-20220316

 arch/arm/include/asm/paravirt_api_clock.h |    1 +
 1 file changed, 1 insertion(+)

--- /dev/null
+++ linux-next-20220316/arch/arm/include/asm/paravirt_api_clock.h
@@ -0,0 +1 @@
+#include <asm/paravirt.h>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h
  2022-03-16 20:41 [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h Randy Dunlap
@ 2022-03-21 15:38 ` Nathan Chancellor
  2022-03-22  7:53   ` Ingo Molnar
  2022-03-22  8:02 ` [tip: sched/core] sched/headers: ARM needs asm/paravirt_api_clock.h too tip-bot2 for Randy Dunlap
  1 sibling, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2022-03-21 15:38 UTC (permalink / raw)
  To: Randy Dunlap, Ingo Molnar
  Cc: linux-kernel, patches, Russell King, linux-arm-kernel

On Wed, Mar 16, 2022 at 01:41:46PM -0700, Randy Dunlap wrote:
> Add <asm/paravirt_api_clock.h> for arch/arm/.
> 
> Fixes this build error:
> 
> In file included from ../kernel/sched/core.c:81:
> ../kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory
>    87 | # include <asm/paravirt_api_clock.h>
> 
> Fixes: 4ff8f2ca6ccd ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: patches@armlinux.org.uk

Reviewed-by: Nathan Chancellor <nathan@kernel.org>

This needs to go into -tip to avoid breaking the build for ARM
all{mod,yes}config. It looks like the pull has already been sent though
:/

> ---
> KernelVersion: linux-next-20220316
> 
>  arch/arm/include/asm/paravirt_api_clock.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- /dev/null
> +++ linux-next-20220316/arch/arm/include/asm/paravirt_api_clock.h
> @@ -0,0 +1 @@
> +#include <asm/paravirt.h>
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h
  2022-03-21 15:38 ` Nathan Chancellor
@ 2022-03-22  7:53   ` Ingo Molnar
  0 siblings, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2022-03-22  7:53 UTC (permalink / raw)
  To: Nathan Chancellor
  Cc: Randy Dunlap, linux-kernel, patches, Russell King, linux-arm-kernel


* Nathan Chancellor <nathan@kernel.org> wrote:

> On Wed, Mar 16, 2022 at 01:41:46PM -0700, Randy Dunlap wrote:
> > Add <asm/paravirt_api_clock.h> for arch/arm/.
> > 
> > Fixes this build error:
> > 
> > In file included from ../kernel/sched/core.c:81:
> > ../kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory
> >    87 | # include <asm/paravirt_api_clock.h>
> > 
> > Fixes: 4ff8f2ca6ccd ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies")
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > Cc: Ingo Molnar <mingo@kernel.org>
> > Cc: Russell King <linux@armlinux.org.uk>
> > Cc: linux-arm-kernel@lists.infradead.org
> > Cc: patches@armlinux.org.uk
> 
> Reviewed-by: Nathan Chancellor <nathan@kernel.org>

Applied, thanks!

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [tip: sched/core] sched/headers: ARM needs asm/paravirt_api_clock.h too
  2022-03-16 20:41 [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h Randy Dunlap
  2022-03-21 15:38 ` Nathan Chancellor
@ 2022-03-22  8:02 ` tip-bot2 for Randy Dunlap
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot2 for Randy Dunlap @ 2022-03-22  8:02 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Nathan Chancellor, Randy Dunlap, Ingo Molnar, x86, linux-kernel

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     ffea9fb319360b9ead8befac6bb2db2b54fd53e6
Gitweb:        https://git.kernel.org/tip/ffea9fb319360b9ead8befac6bb2db2b54fd53e6
Author:        Randy Dunlap <rdunlap@infradead.org>
AuthorDate:    Wed, 16 Mar 2022 13:41:46 -07:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Tue, 22 Mar 2022 08:53:10 +01:00

sched/headers: ARM needs asm/paravirt_api_clock.h too

Add <asm/paravirt_api_clock.h> for arch/arm/, mapped to <asm/paravirt.h>,
to simplify #ifdeffery in generic code.

Fixes this build error introduced by the scheduler tree:

  In file included from ../kernel/sched/core.c:81:
  ../kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory
     87 | # include <asm/paravirt_api_clock.h>

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Fixes: 4ff8f2ca6ccd ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20220316204146.14000-1-rdunlap@infradead.org
---
 arch/arm/include/asm/paravirt_api_clock.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/arm/include/asm/paravirt_api_clock.h

diff --git a/arch/arm/include/asm/paravirt_api_clock.h b/arch/arm/include/asm/paravirt_api_clock.h
new file mode 100644
index 0000000..65ac7ce
--- /dev/null
+++ b/arch/arm/include/asm/paravirt_api_clock.h
@@ -0,0 +1 @@
+#include <asm/paravirt.h>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-22  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 20:41 [PATCH -next] sched/headers: ARM needs asm/paravirt_api_clock.h Randy Dunlap
2022-03-21 15:38 ` Nathan Chancellor
2022-03-22  7:53   ` Ingo Molnar
2022-03-22  8:02 ` [tip: sched/core] sched/headers: ARM needs asm/paravirt_api_clock.h too tip-bot2 for Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®