All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched/core: Fix build paravirt build on arm and arm64
@ 2017-02-21 17:29 Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2017-02-21 17:29 UTC (permalink / raw)
  To: Ingo Molnar, Linus Torvalds
  Cc: linux-kernel, Mike Galbraith, Peter Zijlstra, Thomas Gleixner,
	Mark Brown

Commit 004172bdad64432 (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 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>
---
 kernel/sched/core.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c7ded3311ec4..6ea1925ac5c0 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -23,6 +23,9 @@
 
 #include <asm/switch_to.h>
 #include <asm/tlb.h>
+#ifdef CONFIG_PARAVIRT
+#include <asm/paravirt.h>
+#endif
 
 #include "sched.h"
 #include "../workqueue_internal.h"
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] sched/core: Fix build paravirt build on arm and arm64
@ 2017-02-17 11:06 Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2017-02-17 11:06 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Mike Galbraith, Peter Zijlstra, Thomas Gleixner, linux-kernel,
	Mark Brown

Commit 004172bdad64432 (sched/core: Remove unnecessary #include
headers) in current -next 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 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>
---
 kernel/sched/core.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c7ded3311ec4..6ea1925ac5c0 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -23,6 +23,9 @@
 
 #include <asm/switch_to.h>
 #include <asm/tlb.h>
+#ifdef CONFIG_PARAVIRT
+#include <asm/paravirt.h>
+#endif
 
 #include "sched.h"
 #include "../workqueue_internal.h"
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-21 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 17:29 [PATCH] sched/core: Fix build paravirt build on arm and arm64 Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2017-02-17 11:06 Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.