[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)
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>

No differences found