[S390] user space fault: report fault before calling do_exit
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 17 May 2010 08:00:13 +0000 (10:00 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 17 May 2010 08:00:16 +0000 (10:00 +0200)
commit6ea50968274673ea7b58695efec2eeb55ca2f5dd
tree3b9127cc6fea6c940633c5c82af1fed72633c046
parent10d3858950557cd3cc05f647ede597114c610177
[S390] user space fault: report fault before calling do_exit

Report user space faults before calling do_exit, since do_exit does
not return and therefore we will never see the fault message on the
console.

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