xen/arm: types: Specify the zero padding in the definition of PRIregister
authorJulien Grall <julien.grall@arm.com>
Thu, 16 May 2019 22:39:36 +0000 (23:39 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 31 Jul 2019 19:19:23 +0000 (20:19 +0100)
commitaf156ff0859c8d362a5706640614c9d10f62adf2
treea94034304e5aaedc2808a68f99b7d55f1fa8fa73
parent7f4217cc60574866cb90d67d9750228c6b86c91e
xen/arm: types: Specify the zero padding in the definition of PRIregister

The definition of PRIregister varies between Arm32 and Arm64 (32-bit vs
64-bit). However, some of the users uses the wrong padding and others
are not using padding at all.

For more consistency, the padding is now moved into the PRIregister and
varies depending on the architecture.

Signed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/traps.c
xen/include/asm-arm/types.h