diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 18:06:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 04:57:59 -0400 |
commit | a9e7062d7339f1a1df2b6d7e5d595c7d55b56bfb (patch) | |
tree | 34243fea71942ac2622cbd550b3d985ae0c89bb6 /arch/x86/xen/xen-ops.h | |
parent | ce87b3d326de733c72b47662f106ee6cd699a20f (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.h | 13 |
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); | |||
47 | void __init xen_fill_possible_map(void); | 47 | void __init xen_fill_possible_map(void); |
48 | 48 | ||
49 | void __init xen_setup_vcpu_info_placement(void); | 49 | void __init xen_setup_vcpu_info_placement(void); |
50 | void xen_smp_prepare_boot_cpu(void); | ||
51 | void xen_smp_prepare_cpus(unsigned int max_cpus); | ||
52 | int xen_cpu_up(unsigned int cpu); | ||
53 | void xen_smp_cpus_done(unsigned int max_cpus); | ||
54 | 50 | ||
55 | void xen_smp_send_stop(void); | 51 | #ifdef CONFIG_SMP |
56 | void xen_smp_send_reschedule(int cpu); | 52 | void xen_smp_init(void); |
57 | void xen_smp_send_call_function_ipi(cpumask_t mask); | ||
58 | void xen_smp_send_call_function_single_ipi(int cpu); | ||
59 | 53 | ||
60 | extern cpumask_t xen_cpu_initialized_map; | 54 | extern cpumask_t xen_cpu_initialized_map; |
55 | #else | ||
56 | static 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 |