From patchwork Tue Mar 25 16:51:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 3888361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A30309F2B6 for ; Tue, 25 Mar 2014 16:52:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB48D201F9 for ; Tue, 25 Mar 2014 16:52:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC7DA201F5 for ; Tue, 25 Mar 2014 16:52:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSUad-0004ZO-9U; Tue, 25 Mar 2014 16:52:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSUaa-0001y6-Qd; Tue, 25 Mar 2014 16:52:36 +0000 Received: from smtp.citrix.com ([66.165.176.89]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSUaX-0001vQ-E5 for linux-arm-kernel@lists.infradead.org; Tue, 25 Mar 2014 16:52:34 +0000 X-IronPort-AV: E=Sophos;i="4.97,728,1389744000"; d="scan'208";a="114758849" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 25 Mar 2014 16:51:45 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Tue, 25 Mar 2014 12:51:45 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1WSUZl-0007oH-8Z; Tue, 25 Mar 2014 16:51:45 +0000 Date: Tue, 25 Mar 2014 16:51:15 +0000 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: Stefano Stabellini Subject: Re: [PATCH v9 2/5] kernel: missing include in cputime.c In-Reply-To: Message-ID: References: <1389292336-9292-2-git-send-email-stefano.stabellini@eu.citrix.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-DLP: MIA2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140325_125233_665379_D1E98082 X-CRM114-Status: GOOD ( 11.89 ) X-Spam-Score: -7.3 (-------) Cc: xen-devel@lists.xensource.com, linux@arm.linux.org.uk, Ian Campbell , arnd@arndb.de, konrad.wilk@oracle.com, peterz@infradead.org, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, marc.zyngier@arm.com, mingo@redhat.com, olof@lixom.net, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Peter, I am sorry for the confusion, I have already asked you this question and you have already kindly given me feedback on it. I have even addressed the problem and resent. However I wrongly tagged my emails and patch series. The right patch are v7 and v8, without #ifdef CONFIG_PARAVIRT in cputime.c: http://marc.info/?l=linux-kernel&m=138920709703581&w=2 also appended below. I am very sorry for the confusion. Would that be OK for you? On Tue, 25 Mar 2014, Stefano Stabellini wrote: > Peter, > is this patch OK for you? > > On Thu, 9 Jan 2014, Stefano Stabellini wrote: > > steal_account_process_tick calls paravirt_steal_clock, but paravirt.h is > > currently missing among the included header files. > > Add include asm/paravirt.h. > > > > Signed-off-by: Stefano Stabellini > > CC: mingo@redhat.com > > CC: peterz@infradead.org > > --- > > kernel/sched/cputime.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c > > index 9994791..951833e 100644 > > --- a/kernel/sched/cputime.c > > +++ b/kernel/sched/cputime.c > > @@ -5,6 +5,9 @@ > > #include > > #include > > #include "sched.h" > > +#ifdef CONFIG_PARAVIRT > > +#include > > +#endif > > > > > > #ifdef CONFIG_IRQ_TIME_ACCOUNTING > > -- > > 1.7.10.4 > > > diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c index 9994791..9f9b76a 100644 --- a/kernel/sched/cputime.c +++ b/kernel/sched/cputime.c @@ -5,6 +5,7 @@ #include #include #include "sched.h" +#include #ifdef CONFIG_IRQ_TIME_ACCOUNTING