]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390: split TIF bits into CIF, PIF and TIF bits
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Apr 2014 10:55:07 +0000 (12:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 May 2014 06:58:47 +0000 (08:58 +0200)
commitd3a73acbc26a4a81a01a35fd162973e53d0386f5
tree5b8fd3880f3b38575b1a043f3f4f07623a633bd1
parentbeef560b4cdfafb2211a856e1d722540f5151933
s390: split TIF bits into CIF, PIF and TIF bits

The oi and ni instructions used in entry[64].S to set and clear bits
in the thread-flags are not guaranteed to be atomic in regard to other
CPUs. Split the TIF bits into CPU, pt_regs and thread-info specific
bits. Updates on the TIF bits are done with atomic instructions,
updates on CPU and pt_regs bits are done with non-atomic instructions.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
16 files changed:
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/mmu_context.h
arch/s390/include/asm/processor.h
arch/s390/include/asm/ptrace.h
arch/s390/include/asm/syscall.h
arch/s390/include/asm/thread_info.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/compat_signal.c
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S
arch/s390/kernel/nmi.c
arch/s390/kernel/process.c
arch/s390/kernel/ptrace.c
arch/s390/kernel/signal.c
arch/s390/kvm/kvm-s390.c
arch/s390/mm/fault.c