From: Ian Campbell Subject: Re: [PATCH v6a 12/17] xen/arm: move and rename is_vcpu_running function to sched.h Date: Fri, 27 Jun 2014 15:51:54 +0100 Message-ID: <1403880714.3169.60.camel@kazak.uk.xensource.com> References: <1403760849-14627-1-git-send-email-vijay.kilari@gmail.com> <1403760849-14627-13-git-send-email-vijay.kilari@gmail.com> <53AC06EC020000780001D83E@mail.emea.novell.com> <1403877342.3169.51.camel@kazak.uk.xensource.com> <53AD9644020000780001E05B@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53AD9644020000780001E05B@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: keir@xen.org, vijay.kilari@gmail.com, stefano.stabellini@eu.citrix.com, Prasun.Kapoor@caviumnetworks.com, Vijaya KumarK , julien.grall@linaro.org, tim@xen.org, george.dunlap@citrix.com, xen-devel@lists.xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, 2014-06-27 at 15:05 +0100, Jan Beulich wrote: > >>> On 27.06.14 at 15:55, wrote: > > On Thu, 2014-06-26 at 10:41 +0100, Jan Beulich wrote: > >> >>> On 26.06.14 at 07:34, wrote: > >> > --- a/xen/include/xen/sched.h > >> > +++ b/xen/include/xen/sched.h > >> > @@ -829,6 +829,22 @@ void watchdog_domain_destroy(struct domain *d); > >> > #define need_iommu(d) (0) > >> > #endif > >> > > >> > +static inline bool_t is_vcpu_online(const struct domain *d, int vcpuid) > >> > >> unsigned int please. > > > > OOI why the preference for that when the return is boolean? > > Oh, I meant the plain int parameter, not the return value. Ah. Yes, that makes sense! Ian.