|
@@ -126,8 +126,8 @@ int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus);
|
|
|
|
|
|
#else /* CONFIG_STOP_MACHINE && CONFIG_SMP */
|
|
|
|
|
|
-static inline int stop_machine(int (*fn)(void *), void *data,
|
|
|
- const struct cpumask *cpus)
|
|
|
+static inline int __stop_machine(int (*fn)(void *), void *data,
|
|
|
+ const struct cpumask *cpus)
|
|
|
{
|
|
|
int ret;
|
|
|
local_irq_disable();
|
|
@@ -136,5 +136,11 @@ static inline int stop_machine(int (*fn)(void *), void *data,
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
+static inline int stop_machine(int (*fn)(void *), void *data,
|
|
|
+ const struct cpumask *cpus)
|
|
|
+{
|
|
|
+ return __stop_machine(fn, data, cpus);
|
|
|
+}
|
|
|
+
|
|
|
#endif /* CONFIG_STOP_MACHINE && CONFIG_SMP */
|
|
|
#endif /* _LINUX_STOP_MACHINE */
|