]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/cpuidle: Remove MAX_IDLE_STATE macro.
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>
Tue, 14 Jan 2014 10:56:28 +0000 (16:26 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Jan 2014 06:02:23 +0000 (17:02 +1100)
commit9cc17d7bcac14a8c3c815665ed9a121e517dfb6e
tree8eef750018a9defe5729129a66335a5b076cb1f9
parentde1078f2424e0a6bdaa1a52a756ff95f05c5b70f
powerpc/pseries/cpuidle: Remove MAX_IDLE_STATE macro.

This patch removes the usage of MAX_IDLE_STATE macro
and dead code around it. The number of states
are determined at run time based on the cpuidle
state table selected on a given platform

Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/cpuidle/cpuidle-pseries.c