| Subject | [PATCH 26 of 55] xen: cpu_detect is 32-bit only | Date | Tue, 08 Jul 2008 15:06:48 -0700 | From | Jeremy Fitzhardinge <> |
| |
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/xen/enlighten.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -1365,12 +1365,12 @@ /* set the limit of our address space */ xen_reserve_top(); +#ifdef CONFIG_X86_32 /* set up basic CPUID stuff */ cpu_detect(&new_cpu_data); -#ifdef CONFIG_X86_32 new_cpu_data.hard_math = 1; + new_cpu_data.x86_capability[0] = cpuid_edx(1); #endif - new_cpu_data.x86_capability[0] = cpuid_edx(1); /* Poke various useful things into boot_params */ boot_params.hdr.type_of_loader = (9 << 4) | 0;
|