[S390] addressing mode limits and psw address wrapping
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 30 Oct 2011 14:16:48 +0000 (15:16 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 30 Oct 2011 14:16:43 +0000 (15:16 +0100)
commitccf45cafb0805978e6f13a672caca0e536e87cad
treef4abcadaf691ee952527ad434db3ab91b6e46e7f
parent20b40a794baf3b4b0320c0a77ce944d5d1a01f25
[S390] addressing mode limits and psw address wrapping

An instruction with an address right below the adress limit for the
current addressing mode will wrap. The instruction restart logic in
the protection fault handler and the signal code need to follow the
wrapping rules to find the correct instruction address.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/include/asm/ptrace.h
arch/s390/kernel/signal.c
arch/s390/mm/fault.c