s390/fault: merge report_user_fault implementations
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 24 Feb 2016 13:27:46 +0000 (14:27 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 2 Mar 2016 12:44:27 +0000 (06:44 -0600)
commit5d7eccecf8621e3cf5adcec9cf80aa444b4610d4
tree2877577833d43948398da7b0b79b34720aba9d37
parentee8479bb97dc790904e9afad503ae833e28ed8d3
s390/fault: merge report_user_fault implementations

We have two close to identical report_user_fault functions.
Add a parameter to one and get rid of the other one in order
to reduce code duplication.

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