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

Re: [Xen-devel] [PATCH 3/3] x86: don't open-code cpuid_count() in pv_cpuid()



On 19/01/15 15:28, Jan Beulich wrote:
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

>
> --- a/xen/arch/x86/traps.c
> +++ b/xen/arch/x86/traps.c
> @@ -861,10 +861,7 @@ void pv_cpuid(struct cpu_user_regs *regs
>          goto out;
>      }
>  
> -    asm ( 
> -        "cpuid"
> -        : "=a" (a), "=b" (b), "=c" (c), "=d" (d)
> -        : "0" (a), "1" (b), "2" (c), "3" (d) );
> +    cpuid_count(a, c, &a, &b, &c, &d);
>  
>      if ( (regs->eax & 0x7fffffff) == 0x00000001 )
>      {
>
>
>


_______________________________________________
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®.