diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-01-14 04:21:52 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-17 08:09:45 +0100 |
commit | 6d686f4564f3fc7c6e678852919e48ad331d276b (patch) | |
tree | 642c214879c1e1e5fbadc88c33ad47fe67a94433 /kernel/sched_rt.c | |
parent | sched: might_sleep(): Make file parameter const char * (diff) | |
download | linux-6d686f4564f3fc7c6e678852919e48ad331d276b.tar.xz linux-6d686f4564f3fc7c6e678852919e48ad331d276b.zip |
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 '')
-rw-r--r-- | kernel/sched_rt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index f48328ac216f..072b3fcee8d8 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -1721,7 +1721,7 @@ static void set_curr_task_rt(struct rq *rq) dequeue_pushable_task(rq, p); } -unsigned int get_rr_interval_rt(struct rq *rq, struct task_struct *task) +static unsigned int get_rr_interval_rt(struct rq *rq, struct task_struct *task) { /* * Time slice is 0 for SCHED_FIFO tasks |