]> git.karo-electronics.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>
Thu, 17 Apr 2014 10:46:54 +0000 (12:46 +0200)
commit42d874372a3f8e5d52dd5de8de6aad3ef3a83174
tree538b8be5bbc8ad3aab1bf8d5fc0aeced7c8f7c7d
parent1c1267ad172225bff510dc00be6faa650b512941
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