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)
commit69ddb57cbea0b3dd851ea5f1edd1e609ad4da04e
treeb6947912b2e4528d5874809af6dae7aa8405ba56
parentd95cacc599a79d87052b3975f60cae62c04dc01f
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