aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/xen-ops.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-08 18:06:41 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-16 04:57:59 -0400
commita9e7062d7339f1a1df2b6d7e5d595c7d55b56bfb (patch)
tree34243fea71942ac2622cbd550b3d985ae0c89bb6 /arch/x86/xen/xen-ops.h
parentce87b3d326de733c72b47662f106ee6cd699a20f (diff)
xen: move smp setup into smp.c
Move all the smp_ops setup into smp.c, allowing a lot of things to become static. 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>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r--arch/x86/xen/xen-ops.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h
index 77354d204257..81a779fc9b26 100644
--- a/arch/x86/xen/xen-ops.h
+++ b/arch/x86/xen/xen-ops.h
@@ -47,17 +47,14 @@ void xen_mark_init_mm_pinned(void);
47void __init xen_fill_possible_map(void); 47void __init xen_fill_possible_map(void);
48 48
49void __init xen_setup_vcpu_info_placement(void); 49void __init xen_setup_vcpu_info_placement(void);
50void xen_smp_prepare_boot_cpu(void);
51void xen_smp_prepare_cpus(unsigned int max_cpus);
52int xen_cpu_up(unsigned int cpu);
53void xen_smp_cpus_done(unsigned int max_cpus);
54 50
55void xen_smp_send_stop(void); 51#ifdef CONFIG_SMP
56void xen_smp_send_reschedule(int cpu); 52void xen_smp_init(void);
57void xen_smp_send_call_function_ipi(cpumask_t mask);
58void xen_smp_send_call_function_single_ipi(int cpu);
59 53
60extern cpumask_t xen_cpu_initialized_map; 54extern cpumask_t xen_cpu_initialized_map;
55#else
56static inline void xen_smp_init(void) {}
57#endif
61 58
62 59
63/* Declare an asm function, along with symbols needed to make it 60/* Declare an asm function, along with symbols needed to make it