| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3] libacpi: Don't build x86-only AML for ARM64 mk_dsdt
 >>> On 21.12.16 at 22:07, <boris.ostrovsky@xxxxxxxxxx> wrote:
> @@ -99,20 +100,23 @@ static void decision_tree(
>      decision_tree(s, (s+e)/2, var, leaf);
>      pop_block();
>  }
> +#endif
>  
>  static struct option options[] = {
>      { "maxcpu", 1, 0, 'c' },
> +#if defined(CONFIG_X86)
>      { "dm-version", 1, 0, 'q' },
> +#endif
>      { "debug", 1, 0, 'd' },
>      { 0, 0, 0, 0 }
>  };
>  
>  int main(int argc, char **argv)
>  {
> -    unsigned int slot, dev, intx, link, cpu, max_cpus;
> -    dm_version dm_version = QEMU_XEN_TRADITIONAL;
> -
> +    unsigned int cpu, max_cpus;
>  #if defined(CONFIG_X86)
> +    dm_version dm_version = QEMU_XEN_TRADITIONAL;
> +    unsigned int slot, dev, intx, link;
>      max_cpus = HVM_MAX_VCPUS;
>  #elif defined(CONFIG_ARM_64)
>      max_cpus = GUEST_MAX_VCPUS;
Please remember to not remove blank lines between declarations
and statements. I'll fix this up while committing.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |