projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3baac4
)
sched/deadline: Delete extraneous extern for to_ratio()
author
Paul Gortmaker
<paul.gortmaker@windriver.com>
Tue, 13 May 2014 20:40:05 +0000
(16:40 -0400)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 5 Jun 2014 12:22:24 +0000
(14:22 +0200)
There was a prototype for it added to kernel/sched/sched.h
at the same time the extern was added, so the extern in
the C file was never really ever needed.
See commit
332ac17ef5bfcff4766dfdfd3b4cdf10b8f8f155
("sched/deadline: Add bandwidth management for SCHED_DEADLINE
tasks") for details.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Dario Faggioli <raistlin@linux.it>
Link:
http://lkml.kernel.org/r/1400013605-18717-1-git-send-email-paul.gortmaker@windriver.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/deadline.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/deadline.c
b/kernel/sched/deadline.c
index f9ca7d19781a5691eb915c8764873ba82b31fcf0..0d6b17057188581665027d9113cfcd668032cf4c 100644
(file)
--- a/
kernel/sched/deadline.c
+++ b/
kernel/sched/deadline.c
@@
-57,8
+57,6
@@
void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime)
dl_b->dl_runtime = runtime;
}
-extern unsigned long to_ratio(u64 period, u64 runtime);
-
void init_dl_bw(struct dl_bw *dl_b)
{
raw_spin_lock_init(&dl_b->lock);