diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-01-13 22:21:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-17 02:09:45 -0500 |
commit | 6d686f4564f3fc7c6e678852919e48ad331d276b (patch) | |
tree | 642c214879c1e1e5fbadc88c33ad47fe67a94433 /kernel/sched_fair.c | |
parent | d894837f23f491aa7ed167aae767fc07cfe6e6e6 (diff) |
sched: Don't expose local functions
kernel/sched: don't expose local functions
The get_rr_interval_* functions are all class methods of
struct sched_class. They are not exported so make them
static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <201001132021.53253.hartleys@visionengravers.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 42ac3c9f66f6..71778601c103 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -2076,7 +2076,7 @@ static void moved_group_fair(struct task_struct *p, int on_rq) | |||
2076 | } | 2076 | } |
2077 | #endif | 2077 | #endif |
2078 | 2078 | ||
2079 | unsigned int get_rr_interval_fair(struct rq *rq, struct task_struct *task) | 2079 | static unsigned int get_rr_interval_fair(struct rq *rq, struct task_struct *task) |
2080 | { | 2080 | { |
2081 | struct sched_entity *se = &task->se; | 2081 | struct sched_entity *se = &task->se; |
2082 | unsigned int rr_interval = 0; | 2082 | unsigned int rr_interval = 0; |