]> git.baikalelectronics.ru Git - kernel.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)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 27 Jan 2010 09:12:49 +0000 (10:12 +0100)
commitbc1172f781d70004536b2423ffa99f94d9ffe685
tree5446637ed4982dc78be84f4bd386b02b8d0027c1
parent3e5f6f659e1aa22d492acbb45b41250b250476a6
[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