Skip to content

Commit

Permalink
sched/headers: ARM needs asm/paravirt_api_clock.h too
Browse files Browse the repository at this point in the history
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 <[email protected]>
Fixes: 4ff8f2c ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies")
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
rddunlap authored and Ingo Molnar committed Mar 22, 2022
1 parent ab31c7f commit ffea9fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/include/asm/paravirt_api_clock.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm/paravirt.h>

0 comments on commit ffea9fb

Please sign in to comment.