aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-x86/smp.h14
-rw-r--r--include/asm-x86/smp_32.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index c130a87c956d..d11b92b56353 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -8,6 +8,20 @@ extern cpumask_t cpu_callout_map;
8extern int smp_num_siblings; 8extern int smp_num_siblings;
9extern unsigned int num_processors; 9extern unsigned int num_processors;
10 10
11struct smp_ops {
12 void (*smp_prepare_boot_cpu)(void);
13 void (*smp_prepare_cpus)(unsigned max_cpus);
14 int (*cpu_up)(unsigned cpu);
15 void (*smp_cpus_done)(unsigned max_cpus);
16
17 void (*smp_send_stop)(void);
18 void (*smp_send_reschedule)(int cpu);
19 int (*smp_call_function_mask)(cpumask_t mask,
20 void (*func)(void *info), void *info,
21 int wait);
22};
23
24
11#ifdef CONFIG_X86_32 25#ifdef CONFIG_X86_32
12# include "smp_32.h" 26# include "smp_32.h"
13#else 27#else
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h
index 9a4057d94367..72faad6509c7 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);
38/* Globals due to paravirt */ 38/* Globals due to paravirt */
39extern void set_cpu_sibling_map(int cpu); 39extern void set_cpu_sibling_map(int cpu);
40 40
41struct smp_ops
42{
43 void (*smp_prepare_boot_cpu)(void);
44 void (*smp_prepare_cpus)(unsigned max_cpus);
45 int (*cpu_up)(unsigned cpu);
46 void (*smp_cpus_done)(unsigned max_cpus);
47
48 void (*smp_send_stop)(void);
49 void (*smp_send_reschedule)(int cpu);
50 int (*smp_call_function_mask)(cpumask_t mask,
51 void (*func)(void *info), void *info,
52 int wait);
53};
54
55#ifdef CONFIG_SMP 41#ifdef CONFIG_SMP
56extern struct smp_ops smp_ops; 42extern struct smp_ops smp_ops;
57 43