]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/kernel: remove save_fpu_regs() parameter and use __LC_CURRENT instead
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 29 Jun 2015 14:43:06 +0000 (16:43 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 3 Aug 2015 08:04:37 +0000 (10:04 +0200)
commitd0164ee20d98847d3c777a0ae90e678e7ac1e416
tree524bb68d1e46da8876da38e683b5474a7ec7f7ac
parent2a01bd1bd3d28d1eef26d5509c95d0923f7dc75c
s390/kernel: remove save_fpu_regs() parameter and use __LC_CURRENT instead

All calls to save_fpu_regs() specify the fpu structure of the current task
pointer as parameter.  The task pointer of the current task can also be
retrieved from the CPU lowcore directly.  Remove the parameter definition,
load the __LC_CURRENT task pointer from the CPU lowcore, and rebase the FPU
structure onto the task structure.  Apply the same approach for the
load_fpu_regs() function.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/fpu-internal.h
arch/s390/include/asm/switch_to.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/compat_signal.c
arch/s390/kernel/entry.S
arch/s390/kernel/process.c
arch/s390/kernel/ptrace.c
arch/s390/kernel/signal.c
arch/s390/kernel/traps.c
arch/s390/kvm/kvm-s390.c