aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/cpudeadline.h
diff options
context:
space:
mode:
authorJuri Lelli2015-09-02 11:01:34 +0100
committerIngo Molnar2015-09-23 09:51:25 +0200
commit2726d6ce389788c7fe724961a6e1bfe569560088 (patch)
tree75accba0060b59d37eafb461d3aaf22cf52ba985 /kernel/sched/cpudeadline.h
parent79a89f92cbe31ba6bc50caf211a7ac4d97d0f35f (diff)
sched/deadline: Unify dl_time_before() usage
Move dl_time_before() static definition in include/linux/sched/deadline.h so that it can be used by different parties without being re-defined. Reported-by: Luca Abeni <luca.abeni@unitn.it> Signed-off-by: Juri Lelli <juri.lelli@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1441188096-23021-3-git-send-email-juri.lelli@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/cpudeadline.h')
-rw-r--r--kernel/sched/cpudeadline.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/cpudeadline.h b/kernel/sched/cpudeadline.h
index 1a0a6ef2fbe1..fcbdf83fed7e 100644
--- a/kernel/sched/cpudeadline.h
+++ b/kernel/sched/cpudeadline.h
@@ -2,6 +2,7 @@
#define _LINUX_CPUDL_H
#include <linux/sched.h>
+#include <linux/sched/deadline.h>
#define IDX_INVALID -1