diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-02-02 17:46:13 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-08 02:53:19 -0500 |
commit | 50200df462023b187d80a99a52f5f2cfe3c86c26 (patch) | |
tree | 6337bc5150b89461b2dd80332ce0cf8069df2819 /kernel/sched.c | |
parent | 29275254caedfedce960cfe6df24b90cb04fe431 (diff) |
kernel/sched.c: Suppress unused var warning
On UP:
kernel/sched.c: In function 'wake_up_new_task':
kernel/sched.c:2631: warning: unused variable 'cpu'
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
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 3a8fb30a91b1..e3199df426e3 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2647,7 +2647,7 @@ void wake_up_new_task(struct task_struct *p, unsigned long clone_flags) | |||
2647 | { | 2647 | { |
2648 | unsigned long flags; | 2648 | unsigned long flags; |
2649 | struct rq *rq; | 2649 | struct rq *rq; |
2650 | int cpu = get_cpu(); | 2650 | int cpu __maybe_unused = get_cpu(); |
2651 | 2651 | ||
2652 | #ifdef CONFIG_SMP | 2652 | #ifdef CONFIG_SMP |
2653 | /* | 2653 | /* |