s390/vx: add 64 and 128 bit members to __vector128 struct
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 2 Feb 2023 14:47:38 +0000 (15:47 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 9 Feb 2023 19:11:23 +0000 (20:11 +0100)
commitb0b7b43fcc4666232b4ed65d2c8fa08aff1b6042
tree039c69d837fd3b34e5a8556fe4a6bcd581f80156
parent1306711ad3bf412852cd357f47a752c761f0095c
s390/vx: add 64 and 128 bit members to __vector128 struct

Add 64 and 128 bit members to __vector128 struct in order to allow reading
of the complete value, or the higher or lower part of vector register
contents instead of having to use casts.

Add an explicit __aligned(4) statement to avoid that the alignment of the
structure changes from 4 to 8. This should make sure that no breakage
happens because of this change.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/uapi/asm/types.h