>>> On 24.02.15 at 20:11, <boris.ostrov...@oracle.com> wrote:
> --- a/xen/arch/x86/smpboot.c
> +++ b/xen/arch/x86/smpboot.c
> @@ -843,7 +843,8 @@ void __cpu_die(unsigned int cpu)
>  
>  int cpu_add(uint32_t apic_id, uint32_t acpi_id, uint32_t pxm)
>  {
> -    int node, cpu = -1;
> +    nodeid_t node;

Please take the opportunity and move the declaration into the
scope it's actually needed in, at once allowing the call the
setup_node() to become its initializer.

Jan


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

Reply via email to