Commit fd4a61e0 authored by Mark Brown's avatar Mark Brown Committed by Linus Torvalds
Browse files

sched/core: Fix build paravirt build on arm and arm64

Commit 004172bd

 ("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: default avatarMark Brown <>
Signed-off-by: default avatarLinus Torvalds <>
parent 9763dd6f
......@@ -23,6 +23,9 @@
#include <asm/switch_to.h>
#include <asm/tlb.h>
#include <asm/paravirt.h>
#include "sched.h"
#include "../workqueue_internal.h"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment