From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753465AbdBUR3Y (ORCPT ); Tue, 21 Feb 2017 12:29:24 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:33632 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751034AbdBUR3Q (ORCPT ); Tue, 21 Feb 2017 12:29:16 -0500 From: Mark Brown To: Ingo Molnar , Linus Torvalds Cc: linux-kernel@vger.kernel.org, Mike Galbraith , Peter Zijlstra , Thomas Gleixner , Mark Brown Date: Tue, 21 Feb 2017 09:29:01 -0800 Message-Id: <20170221172901.6234-1-broonie@kernel.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 Subject: [PATCH] sched/core: Fix build paravirt build on arm and arm64 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 #include +#ifdef CONFIG_PARAVIRT +#include +#endif #include "sched.h" #include "../workqueue_internal.h" -- 2.11.0