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

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
This commit is contained in:
Keir Fraser committed 2008-10-15 15:58:09 +01:00
1 parent ee3ce04ad4
commit 2a010416e0
1 file changed
+1 -1
+1 -1
View File
@@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_regs *regs)
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;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.