aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/setup.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-08 18:06:43 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-16 04:58:27 -0400
commitc7b75947f89d45493562ede6d9ee7311dfa5c4ce (patch)
tree954e5c75d950c2b98cfb7b4040acf370ebbcc8ad /arch/x86/xen/setup.c
parent5b09b2876ed1a8e34a0da8f069575fc6174e2077 (diff)
xen64: smp.c compile hacking
A number of random changes to make xen/smp.c compile in 64-bit mode. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>a 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>
Diffstat (limited to 'arch/x86/xen/setup.c')
-rw-r--r--arch/x86/xen/setup.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index e0a39595bde3..f52f3855fb6b 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -98,7 +98,7 @@ void xen_enable_sysenter(void)
98 /* Mask events on entry, even though they get enabled immediately */ 98 /* Mask events on entry, even though they get enabled immediately */
99 static struct callback_register sysenter = { 99 static struct callback_register sysenter = {
100 .type = CALLBACKTYPE_sysenter, 100 .type = CALLBACKTYPE_sysenter,
101 .address = { __KERNEL_CS, (unsigned long)xen_sysenter_target }, 101 .address = XEN_CALLBACK(__KERNEL_CS, xen_sysenter_target),
102 .flags = CALLBACKF_mask_events, 102 .flags = CALLBACKF_mask_events,
103 }; 103 };
104 104
@@ -143,11 +143,6 @@ void __init xen_arch_setup(void)
143 143
144 pm_idle = xen_idle; 144 pm_idle = xen_idle;
145 145
146#ifdef CONFIG_SMP
147 /* fill cpus_possible with all available cpus */
148 xen_fill_possible_map();
149#endif
150
151 paravirt_disable_iospace(); 146 paravirt_disable_iospace();
152 147
153 fiddle_vdso(); 148 fiddle_vdso();