From: Deepthi Dharwar Date: Wed, 30 Nov 2011 02:46:31 +0000 (+0000) Subject: powerpc/cpuidle: Add cpu_idle_wait() to allow switching of idle routines X-Git-Tag: v3.3-rc1~181^2~40^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=771dae81896855d25f7f8746aaf56c0238deafb6;p=pandora-kernel.git powerpc/cpuidle: Add cpu_idle_wait() to allow switching of idle routines This patch provides cpu_idle_wait() routine for the powerpc platform which is required by the cpuidle subsystem. This routine is required to change the idle handler on SMP systems. The equivalent routine for x86 is in arch/x86/kernel/process.c but the powerpc implementation is different. cpuidle_disable variable is to enable/disable cpuidle framework if power_save option is set during the boot time. Signed-off-by: Deepthi Dharwar Signed-off-by: Trinabh Gupta Signed-off-by: Arun R Bharadwaj Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed