s390/mm,fault: remove VM_FAULT_BADMAP and VM_FAULT_BADACCESS
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 12 Oct 2023 07:40:51 +0000 (09:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 23 Oct 2023 16:21:23 +0000 (18:21 +0200)
commit7c194d84a9ce662426b2ecb59da54bb80c6b1d91
tree721e9a50c70a1308817b6203ae4e0a5d44437b7a
parentb61a0922b6dc7dfa6cef5c6d8ab1036826c43b8d
s390/mm,fault: remove VM_FAULT_BADMAP and VM_FAULT_BADACCESS

Remove the last two private vm_fault reasons: VM_FAULT_BADMAP and
VM_FAULT_BADACCESS.

In order to achieve this add an si_code parameter to do_no_context()
and it's wrappers and directly call the wrappers instead of relying on
do_fault_error() handling.

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