diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-03 14:12:32 -0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:40:52 +0200 |
commit | 16694024d6d6fa84dfcf5400b53afe1e75cebf0d (patch) | |
tree | b395c835a175854f20e062196f9ea3fb51e43bab /include/asm-x86/smp_32.h | |
parent | 53ebef4961c7d5347b4fa2b878258ccd11fc9663 (diff) |
x86: define smp_ops in common header
x86_64 will benefit from it
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp_32.h')
-rw-r--r-- | include/asm-x86/smp_32.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h index 9a4057d9436..72faad6509c 100644 --- a/include/asm-x86/smp_32.h +++ b/include/asm-x86/smp_32.h @@ -38,20 +38,6 @@ extern void remove_siblinginfo(int cpu); /* Globals due to paravirt */ extern void set_cpu_sibling_map(int cpu); -struct smp_ops -{ - void (*smp_prepare_boot_cpu)(void); - void (*smp_prepare_cpus)(unsigned max_cpus); - int (*cpu_up)(unsigned cpu); - void (*smp_cpus_done)(unsigned max_cpus); - - void (*smp_send_stop)(void); - void (*smp_send_reschedule)(int cpu); - int (*smp_call_function_mask)(cpumask_t mask, - void (*func)(void *info), void *info, - int wait); -}; - #ifdef CONFIG_SMP extern struct smp_ops smp_ops; |