@@ -124,13 +124,4 @@ struct of_cpu_method {
*/
extern void smp_set_ops(struct smp_operations *);
-#ifdef CONFIG_HOTPLUG_CPU
-extern int platform_can_hotplug_cpu(unsigned int cpu);
-#else
-static inline int platform_can_hotplug_cpu(unsigned int cpu)
-{
- return 0;
-}
-#endif
-
#endif /* ifndef __ASM_ARM_SMP_H */
@@ -106,4 +106,13 @@ static inline u32 mpidr_hash_size(void)
extern int platform_can_cpu_hotplug(void);
+#ifdef CONFIG_HOTPLUG_CPU
+extern int platform_can_hotplug_cpu(unsigned int cpu);
+#else
+static inline int platform_can_hotplug_cpu(unsigned int cpu)
+{
+ return 0;
+}
+#endif
+
#endif