diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-31 08:09:06 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-05 16:27:57 -0500 |
commit | a146649bc19d5eba4f5bfac6720c5f252d517a71 (patch) | |
tree | 914bdbd07a53db65a54a9a8959ce4018befad1e6 /include/linux/smp.h | |
parent | c5e954820335ef5aed1662b70aaf5deb9de16735 (diff) |
smp, generic: introduce arch_disable_smp_support(), build fix
This function should be provided on UP too.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r-- | include/linux/smp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index d41a3a865fe3..bbacb7baa446 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
@@ -67,12 +67,6 @@ extern int __cpu_up(unsigned int cpunum); | |||
67 | extern void smp_cpus_done(unsigned int max_cpus); | 67 | extern void smp_cpus_done(unsigned int max_cpus); |
68 | 68 | ||
69 | /* | 69 | /* |
70 | * Callback to arch code if there's nosmp or maxcpus=0 on the | ||
71 | * boot command line: | ||
72 | */ | ||
73 | extern void arch_disable_smp_support(void); | ||
74 | |||
75 | /* | ||
76 | * Call a function on all other processors | 70 | * Call a function on all other processors |
77 | */ | 71 | */ |
78 | int smp_call_function(void(*func)(void *info), void *info, int wait); | 72 | int smp_call_function(void(*func)(void *info), void *info, int wait); |
@@ -182,6 +176,12 @@ static inline void init_call_single_data(void) | |||
182 | #define put_cpu() preempt_enable() | 176 | #define put_cpu() preempt_enable() |
183 | #define put_cpu_no_resched() preempt_enable_no_resched() | 177 | #define put_cpu_no_resched() preempt_enable_no_resched() |
184 | 178 | ||
179 | /* | ||
180 | * Callback to arch code if there's nosmp or maxcpus=0 on the | ||
181 | * boot command line: | ||
182 | */ | ||
183 | extern void arch_disable_smp_support(void); | ||
184 | |||
185 | void smp_setup_processor_id(void); | 185 | void smp_setup_processor_id(void); |
186 | 186 | ||
187 | #endif /* __LINUX_SMP_H */ | 187 | #endif /* __LINUX_SMP_H */ |