Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751379AbbKJL1v (ORCPT ); Tue, 10 Nov 2015 06:27:51 -0500 Received: from smtp.citrix.com ([66.165.176.63]:27064 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750906AbbKJL1t (ORCPT ); Tue, 10 Nov 2015 06:27:49 -0500 X-IronPort-AV: E=Sophos;i="5.20,270,1444694400"; d="scan'208";a="317022353" Date: Tue, 10 Nov 2015 11:27:33 +0000 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: Peter Zijlstra CC: Stefano Stabellini , , , , , , , , , , , , Subject: Re: [PATCH v11 2/5] missing include asm/paravirt.h in cputime.c In-Reply-To: <20151109173619.GW3604@twins.programming.kicks-ass.net> Message-ID: References: <1446737696-9749-2-git-send-email-stefano.stabellini@eu.citrix.com> <20151105164032.GG3604@twins.programming.kicks-ass.net> <20151109173619.GW3604@twins.programming.kicks-ass.net> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-616796523-1447154860=:5676" X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1805 Lines: 47 --1342847746-616796523-1447154860=:5676 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT On Mon, 9 Nov 2015, Peter Zijlstra wrote: > On Thu, Nov 05, 2015 at 05:30:01PM +0000, Stefano Stabellini wrote: > > On Thu, 5 Nov 2015, Peter Zijlstra wrote: > > > How can this be missing? Things compile fine now, right? > > > > Fair enough. > > > > > > > So please better explain why we do this change. > > > > asm/paravirt.h is included by one of the other headers included in > > kernel/sched/cputime.c on x86, but not on other architecures. On arm and > > arm64, where I am about to introduce asm/paravirt.h and stolen time > > support, without #include in cputime.c I would get: > > > > kernel/sched/cputime.c: In function ‘steal_account_process_tick’: > > kernel/sched/cputime.c:260:24: error: ‘paravirt_steal_enabled’ undeclared (first use in this function) > > if (static_key_false(¶virt_steal_enabled)) { > > > > A bit of digging on x86 (using gcc -E on cputime.c) tells me that > > asm/paravirt.h is coming from the following include chain: > > > > #include > > #include > > #include > > #include > > #include > > #include > > #include > > #include > > #include > > > Fair enough; a slightly shorter version of that for a changelog will do > nicely. Sure. Can I add your Acked-by to it? --1342847746-616796523-1447154860=:5676-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/