sched/idle: Drop !! while calculating 'broadcast'
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 24 Jun 2014 04:31:01 +0000 (10:01 +0530)
committerIngo Molnar <mingo@kernel.org>
Sat, 5 Jul 2014 09:17:31 +0000 (11:17 +0200)
commit89abb5ad10ae8ac3405e635ac80815f781c8b8e9
tree13ef41930fadb7894ac92c953a078da8123f1d80
parent4036ac1567834222fc763ab18e3e17df93b4eaaf
sched/idle: Drop !! while calculating 'broadcast'

We don't need 'broadcast' to be set to 'zero or one', but to 'zero or non-zero'
and so the extra operation to convert it to 'zero or one' can be skipped.

Also change type of 'broadcast' to unsigned int, i.e. type of
drv->states[*].flags.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linaro-kernel@lists.linaro.org
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/0dfbe2976aa108c53e08d3477ea90f6360c1f54c.1403584026.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/idle.c