[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/3] x86: don't open-code cpuid_count() in pv_cpuid()
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- 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 ) { Attachment:
x86-pv-cpuid-use-helper.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |