Skip to content

Commit

Permalink
xen: cpu_detect is 32-bit only
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 16, 2008
1 parent 15664f9 commit 7d087b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/enlighten.c
Original file line number Diff line number Diff line change
Expand Up @@ -1365,12 +1365,12 @@ asmlinkage void __init xen_start_kernel(void)
/* 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;
#endif
new_cpu_data.x86_capability[0] = cpuid_edx(1);
#endif

/* Poke various useful things into boot_params */
boot_params.hdr.type_of_loader = (9 << 4) | 0;
Expand Down

0 comments on commit 7d087b6

Please sign in to comment.