OSDN Git Service

spapr: Remove abuse of rtas_ld() in h_client_architecture_support
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 19 Jan 2016 04:57:59 +0000 (15:57 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:37:36 +0000 (23:37 +1100)
commit27ac3e06d59a2c37cdc5997f65ff82e104ec798a
tree2b06fd258a3019f211ba27d66b9abf14c6ebb4c7
parentf201987b843910ae929c5ed66700d910b29e9c15
spapr: Remove abuse of rtas_ld() in h_client_architecture_support

h_client_architecture_support() uses rtas_ld() for general purpose memory
access, despite the fact that it's not an RTAS routine at all and rtas_ld
makes things more awkward.

Clean this up by replacing rtas_ld() calls with appropriate ldXX_phys()
calls.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
hw/ppc/spapr_hcall.c