Searched hist:"771 dae81896855d25f7f8746aaf56c0238deafb6" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/powerpc/kernel/ |
H A D | idle.c | diff 771dae81896855d25f7f8746aaf56c0238deafb6 Wed Nov 30 03:46:31 CET 2011 Deepthi Dharwar <deepthi@linux.vnet.ibm.com> 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 <deepthi@linux.vnet.ibm.com> Signed-off-by: Trinabh Gupta <g.trinabh@gmail.com> Signed-off-by: Arun R Bharadwaj <arun.r.bharadwaj@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
/linux/arch/powerpc/include/asm/ |
H A D | processor.h | diff 771dae81896855d25f7f8746aaf56c0238deafb6 Wed Nov 30 03:46:31 CET 2011 Deepthi Dharwar <deepthi@linux.vnet.ibm.com> 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 <deepthi@linux.vnet.ibm.com> Signed-off-by: Trinabh Gupta <g.trinabh@gmail.com> Signed-off-by: Arun R Bharadwaj <arun.r.bharadwaj@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|