[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)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 27 Jan 2010 09:12:49 +0000 (10:12 +0100)
commit21ec7f6dbf10492ce9a21718040677d3e68bd57d
tree5446637ed4982dc78be84f4bd386b02b8d0027c1
parent19b123ebacacdce5e75045bfe82122b01c821a5b
[S390] fix single stepped svcs with TRACE_IRQFLAGS=y

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.

Cc: stable@kernel.org
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S