Commit c72f4d6141b3fd2c01f58989cdb0d6b656512647

Authored by Paul Gortmaker
1 parent 06372a63e3

mips: fix implicit smp.h usage in various files.

We need to call out inclusion of smp.h, or with the module.h cleanup
we'll get things like:

arch/mips/loongson/common/platform.c:21: error: implicit declaration of function 'smp_processor_id'

arch/mips/vr41xx/common/giu.c:84: error: implicit declaration of function 'smp_processor_id'

arch/mips/vr41xx/common/rtc.c:85: error: implicit declaration of function 'smp_processor_id'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Showing 3 changed files with 3 additions and 0 deletions Side-by-side Diff

arch/mips/loongson/common/platform.c
... ... @@ -9,6 +9,7 @@
9 9 */
10 10  
11 11 #include <linux/err.h>
  12 +#include <linux/smp.h>
12 13 #include <linux/platform_device.h>
13 14  
14 15 static struct platform_device loongson2_cpufreq_device = {
arch/mips/vr41xx/common/giu.c
... ... @@ -19,6 +19,7 @@
19 19 */
20 20 #include <linux/errno.h>
21 21 #include <linux/init.h>
  22 +#include <linux/smp.h>
22 23 #include <linux/ioport.h>
23 24 #include <linux/platform_device.h>
24 25  
arch/mips/vr41xx/common/rtc.c
... ... @@ -19,6 +19,7 @@
19 19 */
20 20 #include <linux/errno.h>
21 21 #include <linux/init.h>
  22 +#include <linux/smp.h>
22 23 #include <linux/ioport.h>
23 24 #include <linux/platform_device.h>
24 25