From patchwork Fri Feb 17 11:06:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 104491 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp113646qgi; Fri, 17 Feb 2017 03:06:39 -0800 (PST) X-Received: by 10.99.143.78 with SMTP id r14mr2126933pgn.128.1487329599308; Fri, 17 Feb 2017 03:06:39 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si9973690pga.87.2017.02.17.03.06.39; Fri, 17 Feb 2017 03:06:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933507AbdBQLGc (ORCPT + 25 others); Fri, 17 Feb 2017 06:06:32 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:39294 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932374AbdBQLGb (ORCPT ); Fri, 17 Feb 2017 06:06:31 -0500 Received: from [2001:470:1f1d:6b5::3] (helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cegMd-00030f-8E; Fri, 17 Feb 2017 11:06:13 +0000 Received: from broonie by debutante with local (Exim 4.88) (envelope-from ) id 1cegMa-00088w-6x; Fri, 17 Feb 2017 11:06:08 +0000 From: Mark Brown To: Ingo Molnar Cc: Mike Galbraith , Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, Mark Brown Date: Fri, 17 Feb 2017 11:06:07 +0000 Message-Id: <20170217110607.31264-1-broonie@kernel.org> X-Mailer: git-send-email 2.11.0 X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- kernel/sched/core.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.11.0 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"