sched: nominate preferred wakeup cpu, fix
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Sat, 20 Dec 2008 04:36:38 +0000 (09:36 +0530)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 21:37:29 +0000 (22:37 +0100)
commit36dffab679c7eeb91c2507400cf4da6e9e01164e
tree6ac1a7e2362ba0da6fd93a068c61508d02bcba05
parentb77b881f21b29aa7efa668fde69ee3dc0372ae3f
sched: nominate preferred wakeup cpu, fix

Andrew Morton reported:

> kernel/sched.c: In function 'schedule':
> kernel/sched.c:3679: warning: 'active_balance' may be used uninitialized in this function
>
> This warning is correct - the code is buggy.

In sched.c load_balance_newidle, there's real potential use of
uninitialised variable - fix it.

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c