From: Stefano Stabellini Subject: Re: [PATCH v6 02/15] xen/arm: basic PSCI support, implement cpu_on and cpu_off Date: Tue, 7 May 2013 13:37:16 +0100 Message-ID: References: <1367578301-32470-2-git-send-email-stefano.stabellini@eu.citrix.com> <5188EA84.8090704@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5188EA84.8090704@citrix.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: Julien Grall Cc: "xen-devel@lists.xensource.com" , "Tim (Xen.org)" , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 7 May 2013, Julien Grall wrote: > On 05/03/2013 11:51 AM, Stefano Stabellini wrote: > > > diff --git a/xen/arch/arm/psci.c b/xen/arch/arm/psci.c > > new file mode 100644 > > index 0000000..562ef0b > > --- /dev/null > > +++ b/xen/arch/arm/psci.c > > @@ -0,0 +1,76 @@ > > +/* > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License as published by > > + * the Free Software Foundation; either version 2 of the License, or > > + * (at your option) any later version. > > + * > > + * This program is distributed in the hope that it will be useful, > > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + * GNU General Public License for more details. > > + */ > > + > > +#include > > +#include > > +#include > > + > > +#include > > +#include > > + > > +int do_psci_cpu_on(uint32_t vcpuid, register_t entry_point) > > > I have a compilation error on arm64, here you define entry_point as > register_t but when you declare the prototype (see below), you use uint32_t. thanks, I'll make the changes