arm: traps: use generic register accessors in the PSCI code
authorVolodymyr Babchuk <volodymyr_babchuk@epam.com>
Tue, 10 Oct 2017 15:52:42 +0000 (18:52 +0300)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Oct 2017 19:40:09 +0000 (12:40 -0700)
commite76e0448ab589e28ea681fd35817bb41d8190f8e
treeec493bfacf4d062196c80fb6af4a7654075ec164
parent248b8eee6faf7c229c5c50b6c524175e1a5f7851
arm: traps: use generic register accessors in the PSCI code

There are standard functions set_user_reg() and get_user_reg(). We can
use them in PSCI_SET_RESULT()/PSCI_ARG() macros instead of relying on
CONFIG_ARM_64 definition.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/traps.c