Commit 20898609 authored by Philippe Gerum's avatar Philippe Gerum

stop_machine: fix build in !SMP case

parent 3c05acc3
...@@ -138,6 +138,8 @@ int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, ...@@ -138,6 +138,8 @@ int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data,
const struct cpumask *cpus); const struct cpumask *cpus);
#else /* CONFIG_SMP || CONFIG_HOTPLUG_CPU */ #else /* CONFIG_SMP || CONFIG_HOTPLUG_CPU */
#include <linux/interrupt.h>
static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data,
const struct cpumask *cpus) const struct cpumask *cpus)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment