]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mips: vr41xx/ implicitly uses smp.h in giu.c and rtc.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 28 Jul 2011 23:14:16 +0000 (19:14 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:57 +0000 (13:54 -0400)
As evidenced by this:

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/vr41xx/common/giu.c
arch/mips/vr41xx/common/rtc.c

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>