Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1585557
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mark Brown <broonie@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] sched/core: Fix build paravirt build on arm and arm64 |
| Date | Tue, 21 Feb 2017 18:30:02 +0100 |
| Message-ID | <tdmqe-5F2-29@gated-at.bofh.it> (permalink) |
| X-Original-To | Ingo Molnar <mingo@kernel.org>, Linus Torvalds <torvalds@linux-foundation.org> |
| X-Mailer | git-send-email 2.11.0 |
| X-Sa-Exim-Connect-IP | 67.23.202.154 |
| X-Sa-Exim-Mail-From | broonie@sirena.org.uk |
| X-Sa-Exim-Version | 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) |
| X-Sa-Exim-Scanned | No (on mezzanine.sirena.org.uk); Unknown failure |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Mike Galbraith <efault@gmx.de>, Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, Mark Brown <broonie@kernel.org> |
| X-Original-Date | Tue, 21 Feb 2017 09:29:01 -0800 |
| X-Original-Message-ID | <20170221172901.6234-1-broonie@kernel.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1585557 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] sched/core: Fix build paravirt build on arm and arm64 Mark Brown <broonie@kernel.org> - 2017-02-21 18:30 +0100
csiph-web