s390/mm,fault: remove VM_FAULT_PFAULT
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 12 Oct 2023 07:40:45 +0000 (09:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 23 Oct 2023 16:21:22 +0000 (18:21 +0200)
commitcca12b427d43bb57be207d634e1d44e9792d1cb4
tree00cbfad02f0b625b0cdf1af11f791eb8e6b1e7cf
parentf67c2da9f1c2d56e3adab342fc39c00c0c5ec790
s390/mm,fault: remove VM_FAULT_PFAULT

Handling of VM_FAULT_PFAULT and VM_FAULT_BADCONTEXT is nearly identical;
the only difference is within do_no_context() where however the fault_type
(KERNEL_FAULT vs GMAP_FAULT) makes sure that both types will be handled
differently.

Therefore it is possible to get rid of VM_FAULT_PFAULT and use
VM_FAULT_BADCONTEXT instead.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/fault.c