diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-28 19:39:02 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:55 -0400 |
commit | c72f4d6141b3fd2c01f58989cdb0d6b656512647 (patch) | |
tree | 08869e7243198bff1471713e8751c9c13ce82d85 | |
parent | 06372a63e361a15fe464318f79e445a56b23d8a9 (diff) | |
download | op-kernel-dev-c72f4d6141b3fd2c01f58989cdb0d6b656512647.zip op-kernel-dev-c72f4d6141b3fd2c01f58989cdb0d6b656512647.tar.gz |
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>
-rw-r--r-- | arch/mips/loongson/common/platform.c | 1 | ||||
-rw-r--r-- | arch/mips/vr41xx/common/giu.c | 1 | ||||
-rw-r--r-- | arch/mips/vr41xx/common/rtc.c | 1 |
3 files changed, 3 insertions, 0 deletions
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 <linux/err.h> +#include <linux/smp.h> #include <linux/platform_device.h> 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 <linux/errno.h> #include <linux/init.h> +#include <linux/smp.h> #include <linux/ioport.h> #include <linux/platform_device.h> 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 <linux/errno.h> #include <linux/init.h> +#include <linux/smp.h> #include <linux/ioport.h> #include <linux/platform_device.h> |