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: 27043 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 647F920539 for ; Tue, 25 Mar 2014 16:52:50 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id j17sf2857078oag.10 for ; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:subject:in-reply-to :message-id:references:user-agent:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=qvBDK9a+TM3nSuPY7G+TUiEKoSPNm90tYlh5psflfwU=; b=C6Y7g5LoTKh3Tz5mjlihQGbv4yQL+ABMqrp1euxwqQbHFf3ob+iSaYVwicS6uOQt6h b3TIvG8Z/5SLPrZQe4bwRUbTS7jCXdQ3pohB469isIgu8oGJriS6h9nwg6GX6OoVH17n POkphdliZaA4Wq5U1l8xeZRsDw4M/1p/9m+N25DaOMnexko6jLD7r5PeJwqxzpPMzE+c T16WecIudPG3jkOZ9fTTsppVhiU2mFBo+/m3ZcTR58O9r4LhkR1rnhQNfKNIrULI4noN pyrdSVT7yURJvrLCQZf1IiAHEUl2bn7djJ6Ef6mibCoL7Vr72Teyp8ZUD/HJ0g/SlCvZ zD/g== X-Gm-Message-State: ALoCoQn0pbxAA2rHfV/nzZ5SfAYINQhtk81ooSybAPsjoZXI0zvTajRqNYjxX3C4Oh66bLvPAalI X-Received: by 10.182.230.168 with SMTP id sz8mr15619126obc.9.1395766369946; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.16 with SMTP id g16ls297764qgd.25.gmail; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) X-Received: by 10.220.81.194 with SMTP id y2mr1157402vck.29.1395766369776; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id p4si3869191vem.30.2014.03.25.09.52.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Mar 2014 09:52:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id id10so902553vcb.40 for ; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) X-Received: by 10.52.173.165 with SMTP id bl5mr38737388vdc.13.1395766369681; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp320005vck; Tue, 25 Mar 2014 09:52:49 -0700 (PDT) X-Received: by 10.205.68.66 with SMTP id xx2mr720893bkb.67.1395766368484; Tue, 25 Mar 2014 09:52:48 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id s6si7869691bkh.176.2014.03.25.09.52.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Mar 2014 09:52:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; 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-0004ZN-5o; 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 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [66.165.176.89 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.4 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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