From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751349AbdBXJnk (ORCPT ); Fri, 24 Feb 2017 04:43:40 -0500 Received: from terminus.zytor.com ([65.50.211.136]:51968 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750951AbdBXJnN (ORCPT ); Fri, 24 Feb 2017 04:43:13 -0500 Date: Fri, 24 Feb 2017 01:19:38 -0800 From: tip-bot for Mark Brown Message-ID: Cc: broonie@kernel.org, linux-kernel@vger.kernel.org, efault@gmx.de, peterz@infradead.org, hpa@zytor.com, torvalds@linux-foundation.org, mingo@kernel.org, tglx@linutronix.de Reply-To: efault@gmx.de, linux-kernel@vger.kernel.org, peterz@infradead.org, broonie@kernel.org, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, torvalds@linux-foundation.org In-Reply-To: <20170217110607.31264-1-broonie@kernel.org> References: <20170217110607.31264-1-broonie@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/urgent] sched/core: Fix build paravirt build on arm and arm64 Git-Commit-ID: d31c710a3f3ea69b017002a109a1e2a1750054f5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: d31c710a3f3ea69b017002a109a1e2a1750054f5 Gitweb: http://git.kernel.org/tip/d31c710a3f3ea69b017002a109a1e2a1750054f5 Author: Mark Brown AuthorDate: Fri, 17 Feb 2017 11:06:07 +0000 Committer: Ingo Molnar CommitDate: Fri, 24 Feb 2017 09:30:54 +0100 sched/core: Fix build paravirt build on arm and arm64 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 Cc: Linus Torvalds Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20170217110607.31264-1-broonie@kernel.org Signed-off-by: Ingo Molnar --- kernel/sched/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index e01bd80..b692d6c 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"