s390: make use of user_mode() macro where possible
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 27 Jul 2012 08:31:12 +0000 (10:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 30 Jul 2012 09:03:12 +0000 (11:03 +0200)
commit7d25617597ff8dcfe4d0e1d0ac9214e7cc7ded92
tree5195733687b3194e053be0687137f6f6b05472e0
parent37fe1d73a449bdebc4908d04e518f5852d6c453b
s390: make use of user_mode() macro where possible

We use the user_mode() helper already at several places but also
have the open coded variant at other places.
Convert the code to always use the helper function.

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