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>
diff --git a/include/linux/smp.h b/include/linux/smp.h
index d41a3a8..bbacb7b 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -67,12 +67,6 @@
 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
  */
 int smp_call_function(void(*func)(void *info), void *info, int wait);
@@ -182,6 +176,12 @@
 #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 */