[S390] Fix IRQ tracing in case of PER
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 27 Jul 2010 17:29:37 +0000 (19:29 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Tue, 27 Jul 2010 17:29:42 +0000 (19:29 +0200)
commitf5cdac274c62ab61874374abb60f2310ab979295
tree9d0c444bc91f6b84d4e15552ebdea7aaf95510c2
parent1a041a23da7c77b53c71fe11b4f940388bee37b1
[S390] Fix IRQ tracing in case of PER

In case user space is single stepped (PER) the program check handler
claims too early that IRQs are enabled on the return path.
Subsequent checks will notice that the IRQ mask in the PSW and
what lockdep thinks the IRQ mask should be do not correlate and
therefore will print a warning to the console and disable lockdep.

Fix this by doing all the work within the correct context.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S