diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-02-25 07:59:48 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-25 08:13:44 -0500 |
commit | 6e2756376c706e4da3454a272947983f92e80a7e (patch) | |
tree | 3a54c5dd97921ae869bb6122a69af42d9161ee3e /kernel/sched.c | |
parent | 8969a5ede0f9e17da4b943712429aef2c9bcd82b (diff) |
generic-ipi: remove CSD_FLAG_WAIT
Oleg noticed that we don't strictly need CSD_FLAG_WAIT, rework
the code so that we can use CSD_FLAG_LOCK for both purposes.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 410eec404133..d4c2749a2998 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1093,7 +1093,7 @@ static void hrtick_start(struct rq *rq, u64 delay) | |||
1093 | if (rq == this_rq()) { | 1093 | if (rq == this_rq()) { |
1094 | hrtimer_restart(timer); | 1094 | hrtimer_restart(timer); |
1095 | } else if (!rq->hrtick_csd_pending) { | 1095 | } else if (!rq->hrtick_csd_pending) { |
1096 | __smp_call_function_single(cpu_of(rq), &rq->hrtick_csd); | 1096 | __smp_call_function_single(cpu_of(rq), &rq->hrtick_csd, 0); |
1097 | rq->hrtick_csd_pending = 1; | 1097 | rq->hrtick_csd_pending = 1; |
1098 | } | 1098 | } |
1099 | } | 1099 | } |