summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-02-03 11:45:14 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-02-16 14:30:16 +0100
commit9cbff7f2214d16af5c10f1f55ac72d4c1a8bd787 (patch)
treeb2e7bad1200da86e7001dc32a709506f72bd8456 /arch/s390/include/asm
parents390/kvm: convert to regular kernel fpu user (diff)
downloadlinux-9cbff7f2214d16af5c10f1f55ac72d4c1a8bd787.tar.xz
linux-9cbff7f2214d16af5c10f1f55ac72d4c1a8bd787.zip
s390/fpu: remove regs member from struct fpu
KVM was the only user which modified the regs pointer in struct fpu. Remove the pointer and convert the rest of the core fpu code to directly access the save area embedded within struct fpu. Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/fpu-types.h1
-rw-r--r--arch/s390/include/asm/processor.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/fpu-types.h b/arch/s390/include/asm/fpu-types.h
index fee4468a85d3..f5b6fab30401 100644
--- a/arch/s390/include/asm/fpu-types.h
+++ b/arch/s390/include/asm/fpu-types.h
@@ -13,7 +13,6 @@
struct fpu {
__u32 fpc; /* Floating-point control */
- void *regs; /* Pointer to the current save area */
union {
/* Floating-point register save area */
freg_t fprs[__NUM_FPRS];
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index eee0a1eec620..ecce58abf3db 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -202,7 +202,6 @@ typedef struct thread_struct thread_struct;
#define INIT_THREAD { \
.ksp = sizeof(init_stack) + (unsigned long) &init_stack, \
- .ufpu.regs = (void *)init_task.thread.ufpu.fprs, \
.last_break = 1, \
}