cpuidle / coupled: fix ready counter decrement
authorSivaram Nair <sivaramn@nvidia.com>
Tue, 18 Dec 2012 12:52:54 +0000 (13:52 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 3 Jan 2013 12:11:05 +0000 (13:11 +0100)
commit92638e2facc5330475c7d558acec77721c3214e4
tree121ddcb3c7f9dd13330b5156d385b648c19f35c1
parent0e5537b30d3029d784226ab51c2b923d1155b553
cpuidle / coupled: fix ready counter decrement

The ready_waiting_counts atomic variable is compared against the wrong
online cpu count. The latter is computed incorrectly using logical-OR
instead of bit-OR. This patch fixes that.

Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Colin Cross <ccross@android.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/coupled.c