]> Pileus Git - ~andy/linux/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)
commitbf7f61f2dfc5c5764e862bee317a5a227091d0d2
tree8eef750018a9defe5729129a66335a5b076cb1f9
parent12431c64979bcda4786437f2a83aa0afc8bfc9da
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