]> git.baikalelectronics.ru Git - kernel.git/commit
sched/core: Fix build paravirt build on arm and arm64
authorMark Brown <broonie@kernel.org>
Tue, 21 Feb 2017 17:29:01 +0000 (09:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Feb 2017 18:54:02 +0000 (10:54 -0800)
commitc192bf9bb910326495615a95a5e8bf7eb224c98f
tree957ae429c2d72e185f1e74e06fd9f39101ab70f0
parent995039f701c3024e681c4a4b348af36269c30d48
sched/core: Fix build paravirt build on arm and arm64

Commit c887fdc6bac9 ("sched/core: Remove unnecessary #include headers")
removed the inclusion of asm/paravirt.h which is used to get
declarations of paravirt_steal_rq_enabled and paravirt_steal_clock.

It is implicitly included on x86 but not on arm and arm64 breaking the
build if paravirtualization is used.  Since things from that header are
used directly fix the build by putting the direct inclusion back.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched/core.c