From: Paul Gortmaker Date: Thu, 28 Jul 2011 23:39:02 +0000 (-0400) Subject: mips: fix implicit smp.h usage in various files. X-Git-Tag: v3.2-rc1~22^2~168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c72f4d6141b3fd2c01f58989cdb0d6b656512647;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 --- diff --git a/arch/mips/loongson/common/platform.c b/arch/mips/loongson/common/platform.c index ed007a2..502b059 100644 --- a/arch/mips/loongson/common/platform.c +++ b/arch/mips/loongson/common/platform.c @@ -9,6 +9,7 @@ */ #include +#include #include static struct platform_device loongson2_cpufreq_device = { diff --git a/arch/mips/vr41xx/common/giu.c b/arch/mips/vr41xx/common/giu.c index 22cc6f2..b32b3bc 100644 --- a/arch/mips/vr41xx/common/giu.c +++ b/arch/mips/vr41xx/common/giu.c @@ -19,6 +19,7 @@ */ #include #include +#include #include #include diff --git a/arch/mips/vr41xx/common/rtc.c b/arch/mips/vr41xx/common/rtc.c index ebc5dcf..76e3e8a 100644 --- a/arch/mips/vr41xx/common/rtc.c +++ b/arch/mips/vr41xx/common/rtc.c @@ -19,6 +19,7 @@ */ #include #include +#include #include #include