summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorYoichi Yuasa2007-09-13 06:13:28 +0200
committerRalf Baechle2007-09-14 20:08:42 +0200
commitb1043cc7d9d7a7dec8d807570c067e0c90b94b57 (patch)
tree51a636c507737bdff95eeed7ab97ada0f2b38f84 /arch/mips/kernel
parent[MIPS] N32 needs to use compat_sys_futimesat (diff)
downloadkernel-qcow2-linux-b1043cc7d9d7a7dec8d807570c067e0c90b94b57.tar.gz
kernel-qcow2-linux-b1043cc7d9d7a7dec8d807570c067e0c90b94b57.tar.xz
kernel-qcow2-linux-b1043cc7d9d7a7dec8d807570c067e0c90b94b57.zip
[MIPS] Add #include <linux/profile.h> to arch/mips/kernel/time.c
It refer to CPU_PROFILING. arch/mips/kernel/time.c: In function 'local_timer_interrupt': arch/mips/kernel/time.c:142: error: implicit declaration of function 'profile_tick' arch/mips/kernel/time.c:142: error: 'CPU_PROFILING' undeclared (first use in this function) arch/mips/kernel/time.c:142: error: (Each undeclared identifier is reported only once arch/mips/kernel/time.c:142: error: for each function it appears in.) Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index d48d1d5bea0a..9a5596bf8571 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/param.h>
+#include <linux/profile.h>
#include <linux/time.h>
#include <linux/timex.h>
#include <linux/smp.h>