]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
smp, generic: introduce arch_disable_smp_support(), build fix
authorIngo Molnar <mingo@elte.hu>
Sat, 31 Jan 2009 13:09:06 +0000 (14:09 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Feb 2009 21:27:57 +0000 (22:27 +0100)
This function should be provided on UP too.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/smp.h

index d41a3a865fe31e0ebe91dd0503e5955ceb896473..bbacb7baa44618b973a280a3aeac3eab68084009 100644 (file)
@@ -66,12 +66,6 @@ extern int __cpu_up(unsigned int cpunum);
  */
 extern void smp_cpus_done(unsigned int max_cpus);
 
-/*
- * Callback to arch code if there's nosmp or maxcpus=0 on the
- * boot command line:
- */
-extern void arch_disable_smp_support(void);
-
 /*
  * Call a function on all other processors
  */
@@ -182,6 +176,12 @@ static inline void init_call_single_data(void)
 #define put_cpu()              preempt_enable()
 #define put_cpu_no_resched()   preempt_enable_no_resched()
 
+/*
+ * Callback to arch code if there's nosmp or maxcpus=0 on the
+ * boot command line:
+ */
+extern void arch_disable_smp_support(void);
+
 void smp_setup_processor_id(void);
 
 #endif /* __LINUX_SMP_H */