ia64/xen-unstable

changeset 18641:22c89412fc8c

x86 cpuid: leaf 4 sub-index goes in %ecx, not %ebx

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Oct 15 15:58:09 2008 +0100 (2008-10-15)
parents 33d6ed9fd3c5
children 9404bcb6d32e
files xen/arch/x86/traps.c
line diff
     1.1 --- a/xen/arch/x86/traps.c	Wed Oct 15 15:57:20 2008 +0100
     1.2 +++ b/xen/arch/x86/traps.c	Wed Oct 15 15:58:09 2008 +0100
     1.3 @@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_reg
     1.4      if ( current->domain->domain_id != 0 )
     1.5      {
     1.6          if ( !cpuid_hypervisor_leaves(a, &a, &b, &c, &d) )
     1.7 -            domain_cpuid(current->domain, a, b, &a, &b, &c, &d);
     1.8 +            domain_cpuid(current->domain, a, c, &a, &b, &c, &d);
     1.9          goto out;
    1.10      }
    1.11