diff options
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index aed7ceeb4b6..37230342c2c 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -87,14 +87,7 @@ struct shared_info *HYPERVISOR_shared_info = (void *)&xen_dummy_shared_info; | |||
87 | * | 87 | * |
88 | * 0: not available, 1: available | 88 | * 0: not available, 1: available |
89 | */ | 89 | */ |
90 | static int have_vcpu_info_placement = | 90 | static int have_vcpu_info_placement = 1; |
91 | #ifdef CONFIG_X86_32 | ||
92 | 1 | ||
93 | #else | ||
94 | 0 | ||
95 | #endif | ||
96 | ; | ||
97 | |||
98 | 91 | ||
99 | static void xen_vcpu_setup(int cpu) | 92 | static void xen_vcpu_setup(int cpu) |
100 | { | 93 | { |
@@ -915,11 +908,6 @@ asmlinkage void __init xen_start_kernel(void) | |||
915 | machine_ops = xen_machine_ops; | 908 | machine_ops = xen_machine_ops; |
916 | 909 | ||
917 | #ifdef CONFIG_X86_64 | 910 | #ifdef CONFIG_X86_64 |
918 | /* Disable until direct per-cpu data access. */ | ||
919 | have_vcpu_info_placement = 0; | ||
920 | #endif | ||
921 | |||
922 | #ifdef CONFIG_X86_64 | ||
923 | /* | 911 | /* |
924 | * Setup percpu state. We only need to do this for 64-bit | 912 | * Setup percpu state. We only need to do this for 64-bit |
925 | * because 32-bit already has %fs set properly. | 913 | * because 32-bit already has %fs set properly. |