summaryrefslogtreecommitdiff
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorReynes Philippe <tremyfr@yahoo.fr>2008-03-17 16:19:05 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:44:57 +0200
commit30914a58af9d21c5f1831adabb5d7a800a378675 (patch)
tree8e63c0974c94a7e7106160274995f89717991722 /kernel/sched.c
parent27ec4407790d075c325e1f4da0a19c56953cce23 (diff)
downloadlwn-30914a58af9d21c5f1831adabb5d7a800a378675.tar.gz
lwn-30914a58af9d21c5f1831adabb5d7a800a378675.zip
sched: sched.c needs tick.h
kernel/sched.c:506: erreur: implicit declaration of function tick_get_tick_sched kernel/sched.c:506: erreur: invalid type argument of -> kernel/sched.c:506: erreur: NOHZ_MODE_INACTIVE undeclared (first use in this function) kernel/sched.c:506: erreur: (Each undeclared identifier is reported only once kernel/sched.c:506: erreur: for each function it appears in.) Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 7377222ab42f..7fe334ead4f9 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -66,6 +66,7 @@
#include <linux/unistd.h>
#include <linux/pagemap.h>
#include <linux/hrtimer.h>
+#include <linux/tick.h>
#include <asm/tlb.h>
#include <asm/irq_regs.h>