# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224082689 -3600
# Node ID 22c89412fc8c0b7d47b73b7d67f0ef88b07b935e
# Parent 33d6ed9fd3c552bc368c448c804562424a0322e0
x86 cpuid: leaf 4 sub-index goes in %ecx, not %ebx
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
xen/arch/x86/traps.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 33d6ed9fd3c5 -r 22c89412fc8c xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c Wed Oct 15 15:57:20 2008 +0100
+++ b/xen/arch/x86/traps.c Wed Oct 15 15:58:09 2008 +0100
@@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_reg
if ( current->domain->domain_id != 0 )
{
if ( !cpuid_hypervisor_leaves(a, &a, &b, &c, &d) )
- domain_cpuid(current->domain, a, b, &a, &b, &c, &d);
+ domain_cpuid(current->domain, a, c, &a, &b, &c, &d);
goto out;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|