]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/stop_machine.c
PM / Hibernate: Fix the early termination of test modes
[karo-tx-linux.git] / kernel / stop_machine.c
index d3f960a6ca565ad065b97eb1f9cc725d142b096f..2f194e965715183786f2f8b640ddcbbf1b456dc4 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/cpu.h>
 #include <linux/init.h>
 #include <linux/kthread.h>
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/percpu.h>
 #include <linux/sched.h>
 #include <linux/stop_machine.h>
@@ -494,7 +494,7 @@ int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus)
                 * early in boot before stop_machine() has been
                 * initialized.
                 */
-               unsigned long flags;
+               unsigned long flags;
                int ret;
 
                WARN_ON_ONCE(smdata.num_threads != 1);