]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
linux/stop_machine.h: fix implicit use of smp.h for smp_processor_id
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Jul 2011 21:11:26 +0000 (17:11 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 04:27:05 +0000 (00:27 -0400)
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>
include/linux/stop_machine.h

index 2d04ea91676037e2c71bc8e1ff103253157888cd..c170edc3bf5f62d0c1cca31ae332c0a29c24389f 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/cpu.h>
 #include <linux/cpumask.h>
+#include <linux/smp.h>
 #include <linux/list.h>
 #include <asm/system.h>