s390/fpu: remove anonymous union from struct fpu
authorHeiko Carstens <hca@linux.ibm.com>
Sat, 3 Feb 2024 10:45:15 +0000 (11:45 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 16 Feb 2024 13:30:16 +0000 (14:30 +0100)
commitbdbd3acb33f5b09b99d75b0f0edeb7db98a05c89
treeb1589fdea4b9301980671fb803ea19d9695149be
parent9cbff7f2214d16af5c10f1f55ac72d4c1a8bd787
s390/fpu: remove anonymous union from struct fpu

The anonymous union within struct fpu contains a floating point register
array and a vector register array. Given that the vector register is always
present remove the floating point register array. For configurations
without vector registers save the floating point register contents within
their corresponding vector register location.

This allows to remove the union, and also to simplify ptrace and perf code.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/fpu-types.h
arch/s390/include/asm/fpu.h
arch/s390/kernel/fpu.c
arch/s390/kernel/perf_regs.c
arch/s390/kernel/ptrace.c