summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-04-10 16:20:54 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-30 05:37:15 (GMT)
commitcf8a056a2226754087320541fb4de743cc81cd2e (patch)
treef54a23c5df0b812506148881bbaa0d4d257d1f86 /arch/powerpc/platforms
parentfd6c40f3b00a1e76d6a920cb6591907c53450afc (diff)
downloadlinux-fsl-qoriq-cf8a056a2226754087320541fb4de743cc81cd2e.tar.xz
powerpc: Clean up lppaca->cede_latency_hint
We have a union containing fields from the old iseries hypervisor that has been reused for the cede latency hint. Since we no longer support iseries, remove the union completely. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/pseries/plpar_wrappers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/plpar_wrappers.h b/arch/powerpc/platforms/pseries/plpar_wrappers.h
index 342797f..13e8cc4 100644
--- a/arch/powerpc/platforms/pseries/plpar_wrappers.h
+++ b/arch/powerpc/platforms/pseries/plpar_wrappers.h
@@ -22,12 +22,12 @@ static inline long poll_pending(void)
static inline u8 get_cede_latency_hint(void)
{
- return get_lppaca()->gpr5_dword.fields.cede_latency_hint;
+ return get_lppaca()->cede_latency_hint;
}
static inline void set_cede_latency_hint(u8 latency_hint)
{
- get_lppaca()->gpr5_dword.fields.cede_latency_hint = latency_hint;
+ get_lppaca()->cede_latency_hint = latency_hint;
}
static inline long cede_processor(void)