From: Paul Gortmaker Date: Sun, 17 Jul 2011 21:11:26 +0000 (-0400) Subject: linux/stop_machine.h: fix implicit use of smp.h for smp_processor_id X-Git-Tag: next-20110829~4^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=559ce603054106272699e8e02187d6648ff34c3c;p=karo-tx-linux.git linux/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 --- 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 #include +#include #include #include