diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2024-02-03 11:45:10 +0100 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2024-02-16 14:30:15 +0100 |
| commit | 87c5c70036813d26e6e7e4393747a4fdc63cf193 (patch) | |
| tree | ca4c0ecae619c014cbfaee3c5877e36f082f7671 /arch/s390/include/asm/processor.h | |
| parent | 419abc4d3828813b58d047da146f519eedaa395b (diff) | |
| download | lwn-87c5c70036813d26e6e7e4393747a4fdc63cf193.tar.gz lwn-87c5c70036813d26e6e7e4393747a4fdc63cf193.zip | |
s390/fpu: rename save_fpu_regs() to save_user_fpu_regs(), etc
Rename save_fpu_regs(), load_fpu_regs(), and struct thread_struct's fpu
member to save_user_fpu_regs(), load_user_fpu_regs(), and ufpu. This way
the function and variable names reflect for which context they are supposed
to be used.
This large and trivial conversion is a prerequisite for making the kernel
fpu usage preemptible.
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/processor.h')
| -rw-r--r-- | arch/s390/include/asm/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index f25617cbc49e..2e716bf34bf8 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -181,7 +181,7 @@ struct thread_struct { struct gs_cb *gs_cb; /* Current guarded storage cb */ struct gs_cb *gs_bc_cb; /* Broadcast guarded storage cb */ struct pgm_tdb trap_tdb; /* Transaction abort diagnose block */ - struct fpu fpu; /* FP and VX register save area */ + struct fpu ufpu; /* User FP and VX register save area */ }; /* Flag to disable transactions. */ @@ -200,7 +200,7 @@ typedef struct thread_struct thread_struct; #define INIT_THREAD { \ .ksp = sizeof(init_stack) + (unsigned long) &init_stack, \ - .fpu.regs = (void *) init_task.thread.fpu.fprs, \ + .ufpu.regs = (void *)init_task.thread.ufpu.fprs, \ .last_break = 1, \ } |
