summaryrefslogtreecommitdiff
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-14 19:37:39 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-15 16:51:29 +0200
commit0763a660a84220cc3900fd32abdd7ad109e2278d (patch)
tree1b745884fb79627e05c026ee5bfb115b1f722db8 /kernel/sched_rt.c
parent8e6598af3f35629c37249a610cf13e73f70db279 (diff)
downloadlwn-0763a660a84220cc3900fd32abdd7ad109e2278d.tar.gz
lwn-0763a660a84220cc3900fd32abdd7ad109e2278d.zip
sched: Rename select_task_rq() argument
In order to be able to rename the sync argument, we need to rename the current flag argument. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 438380810ac4..97c53f3f51a7 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -938,11 +938,11 @@ static void yield_task_rt(struct rq *rq)
#ifdef CONFIG_SMP
static int find_lowest_rq(struct task_struct *task);
-static int select_task_rq_rt(struct task_struct *p, int flag, int sync)
+static int select_task_rq_rt(struct task_struct *p, int sd_flag, int sync)
{
struct rq *rq = task_rq(p);
- if (flag != SD_BALANCE_WAKE)
+ if (sd_flag != SD_BALANCE_WAKE)
return smp_processor_id();
/*