[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 03/15] xen/arm: vGIC: Export vgic_vN ops rather than add an indirection



Hi Ian,

On 30/06/15 13:45, Ian Campbell wrote:
> On Fri, 2015-06-26 at 10:34 +0100, Julien Grall wrote:
>> The function vgic_vN_init only calls register_vgic_ops. As it will never
>> contain anything else, domain initialization code should be in the
>> callback domain_init, remove them and directly use the VGIC ops in the
>> commmon vGIC code.
> 
> Too many m's in common.
> 
>> +#define DEFINE_VGIC_OPS(version)                        \
>> +    extern const struct vgic_ops vgic_v##version##_ops;
>> +DEFINE_VGIC_OPS(2)
>> +#ifdef HAS_GICV3
>> +DEFINE_VGIC_OPS(3)
>> +#endif
>> +#undef DEFINE_VGIC_OPS
> 
> I think the macro is a bit unnecessary, to externs would have been just
> fine.

I will drop the macro.

> 
> Either way:
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.