mips: fix implicit smp.h usage in various files.
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 23:39:02 +0000 (19:39 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:55 +0000 (19:30 -0400)
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>
arch/mips/loongson/common/platform.c
arch/mips/vr41xx/common/giu.c
arch/mips/vr41xx/common/rtc.c

index ed007a2e0e1f0641e0406c63e3b0b7c48c5d9feb..502b059de42274d21ae94b3606cdb8a5cc39b5e9 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <linux/err.h>
+#include <linux/smp.h>
 #include <linux/platform_device.h>
 
 static struct platform_device loongson2_cpufreq_device = {
index 22cc6f2100a1acba6d15f983804c3ee46660bdaa..b32b3bc604410b39ce602575c9acfbddfce13afe 100644 (file)
@@ -19,6 +19,7 @@
  */
 #include <linux/errno.h>
 #include <linux/init.h>
+#include <linux/smp.h>
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
 
index ebc5dcf0ed8e29dad672a529e6cf6abf45c66f6c..76e3e8af7c96e7c5975e7d328be1297f101f881a 100644 (file)
@@ -19,6 +19,7 @@
  */
 #include <linux/errno.h>
 #include <linux/init.h>
+#include <linux/smp.h>
 #include <linux/ioport.h>
 #include <linux/platform_device.h>