summaryrefslogtreecommitdiffstats
path: root/include/linux/stop_machine.h
diff options
context:
space:
mode:
authorPaul Gortmaker2011-07-17 23:11:26 +0200
committerPaul Gortmaker2011-11-01 00:32:28 +0100
commitbb2eac66ee0e8023432e8b0ff13b75e47be199e9 (patch)
tree44487ed5b1ecee4478561adbebd56b1965d0a581 /include/linux/stop_machine.h
parentof: fix implicit use of errno.h in include/linux/of.h (diff)
downloadkernel-qcow2-linux-bb2eac66ee0e8023432e8b0ff13b75e47be199e9.tar.gz
kernel-qcow2-linux-bb2eac66ee0e8023432e8b0ff13b75e47be199e9.tar.xz
kernel-qcow2-linux-bb2eac66ee0e8023432e8b0ff13b75e47be199e9.zip
stop_machine.h: fix implicit use of smp.h for smp_processor_id
This will show up on MIPS when we fix all the implicit header presences that are because of module.h being everywhere. In file included from kernel/trace/ftrace.c:16: include/linux/stop_machine.h: In function 'stop_one_cpu': include/linux/stop_machine.h:50: error: implicit declaration of function 'smp_processor_id' include/linux/stop_machine.h: In function 'stop_cpus': include/linux/stop_machine.h:80: error: implicit declaration of function 'raw_smp_processor_id' Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'include/linux/stop_machine.h')
-rw-r--r--include/linux/stop_machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h
index 2d04ea916760..c170edc3bf5f 100644
--- a/include/linux/stop_machine.h
+++ b/include/linux/stop_machine.h
@@ -3,6 +3,7 @@
#include <linux/cpu.h>
#include <linux/cpumask.h>
+#include <linux/smp.h>
#include <linux/list.h>
#include <asm/system.h>