diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-03-11 17:08:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-16 06:13:42 -0400 |
commit | c890692bf37671b5b78a1870d55d6d87e1c8a509 (patch) | |
tree | 70ffb80cf62eabaeabf334d08ae88aa63eccb5be /kernel/sched.c | |
parent | cd3d8031eb4311e516329aee03c79a08333141f1 (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>
Cc: 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 6eaef3df2d19..82975b5b42f7 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2650,7 +2650,7 @@ void wake_up_new_task(struct task_struct *p, unsigned long clone_flags) | |||
2650 | { | 2650 | { |
2651 | unsigned long flags; | 2651 | unsigned long flags; |
2652 | struct rq *rq; | 2652 | struct rq *rq; |
2653 | int cpu = get_cpu(); | 2653 | int cpu __maybe_unused = get_cpu(); |
2654 | 2654 | ||
2655 | #ifdef CONFIG_SMP | 2655 | #ifdef CONFIG_SMP |
2656 | /* | 2656 | /* |