aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/xmon.c
diff options
context:
space:
mode:
authorGautham R Shenoy <ego@in.ibm.com>2009-10-29 19:22:48 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-11-24 14:33:03 +1100
commit69ddb57cbea0b3dd851ea5f1edd1e609ad4da04e (patch)
treeb6947912b2e4528d5874809af6dae7aa8405ba56 /arch/powerpc/xmon/xmon.c
parentd95cacc599a79d87052b3975f60cae62c04dc01f (diff)
downloadkernel_samsung_crespo-69ddb57cbea0b3dd851ea5f1edd1e609ad4da04e.zip
kernel_samsung_crespo-69ddb57cbea0b3dd851ea5f1edd1e609ad4da04e.tar.gz
kernel_samsung_crespo-69ddb57cbea0b3dd851ea5f1edd1e609ad4da04e.tar.bz2
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>
Diffstat (limited to 'arch/powerpc/xmon/xmon.c')
-rw-r--r--arch/powerpc/xmon/xmon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index bdbe96c..4e6152c 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1641,7 +1641,8 @@ static void super_regs(void)
ptrLpPaca->saved_srr0, ptrLpPaca->saved_srr1);
printf(" Saved Gpr3=%.16lx Saved Gpr4=%.16lx \n",
ptrLpPaca->saved_gpr3, ptrLpPaca->saved_gpr4);
- printf(" Saved Gpr5=%.16lx \n", ptrLpPaca->saved_gpr5);
+ printf(" Saved Gpr5=%.16lx \n",
+ ptrLpPaca->gpr5_dword.saved_gpr5);
}
#endif