]> git.karo-electronics.de Git - karo-tx-linux.git/commit
S390: fix single stepped svcs with TRACE_IRQFLAGS=y
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 27 Jan 2010 09:12:40 +0000 (10:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Feb 2010 12:50:43 +0000 (04:50 -0800)
commit76e789c066a7d65c180e916c0d74227fbe3e0b05
tree2a419c5bd1c61d6352f2563ea21da7a9cf431457
parent16a2ae6eb112b506ca1e464d848e684f6f90dadc
S390: fix single stepped svcs with TRACE_IRQFLAGS=y

commit 21ec7f6dbf10492ce9a21718040677d3e68bd57d upstream.

If irq flags tracing is enabled the TRACE_IRQS_ON macros expands to
a function call which clobbers registers %r0-%r5. The macro is used
in the code path for single stepped system calls. The argument
registers %r2-%r6 need to be restored from the stack before the system
call function is called.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S