mirror of
https://github.com/torvalds/linux.git
synced 2025-12-01 07:26:02 +07:00
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>
This commit is contained in:
@@ -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, \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user