[tip: sched/core] sched/headers: ARM needs asm/paravirt_api_clock.h too

From: tip-bot2 for Randy Dunlap
Date: Tue Mar 22 2022 - 04:02:50 EST


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@xxxxxxxxxxxxx>
AuthorDate: Wed, 16 Mar 2022 13:41:46 -07:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
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@xxxxxxxxxx>
Fixes: 4ff8f2ca6ccd ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies")
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20220316204146.14000-1-rdunlap@xxxxxxxxxxxxx
---
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>