]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Add extended_cede_processor() helper function.
authorGautham R Shenoy <ego@in.ibm.com>
Thu, 29 Oct 2009 19:22:48 +0000 (19:22 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Nov 2009 03:33:03 +0000 (14:33 +1100)
commitf83da7e05229c01792062a3be21692456ae0be31
treeb6947912b2e4528d5874809af6dae7aa8405ba56
parent970f0d0d05e2ab95c2e86791c00d15d3a8730ec4
powerpc/pseries: Add extended_cede_processor() helper function.

This patch provides an extended_cede_processor() helper function
which takes the cede latency hint as an argument. This hint is to be passed
on to the hypervisor to cede to the corresponding state on platforms
which support it.

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Arun R Bharadwaj <arun@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/lppaca.h
arch/powerpc/platforms/pseries/plpar_wrappers.h
arch/powerpc/xmon/xmon.c