diff mbox series

[-next] sched/headers: ARM needs asm/paravirt_api_clock.h

Message ID 20220316204146.14000-1-rdunlap@infradead.org (mailing list archive)
State New, archived
Headers show
Series [-next] sched/headers: ARM needs asm/paravirt_api_clock.h | expand

Commit Message

Randy Dunlap March 16, 2022, 8:41 p.m. UTC
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(+)

Comments

Nathan Chancellor March 21, 2022, 3:38 p.m. UTC | #1
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>
>
Ingo Molnar March 22, 2022, 7:53 a.m. UTC | #2
* 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
diff mbox series

Patch

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