s390/mm: move pfault code to own C file
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Jul 2023 15:20:26 +0000 (17:20 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Sat, 29 Jul 2023 12:57:18 +0000 (14:57 +0200)
commitc28c07fe235ccaafe11003393de064b2a24dd2e3
treeb09e871cf9860fc44c94dc3e01f7a787882ddf8e
parent8b46451c8bd63da543598ef8e0d67cb52281c6ef
s390/mm: move pfault code to own C file

The pfault code has nothing to do with regular fault handling.

Therefore move it to an own C file. Also add an own pfault header
file. This way changes to setup.h don't cause a recompile of the
pfault code and vice versa.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/pfault.h [new file with mode: 0644]
arch/s390/include/asm/setup.h
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/smp.c
arch/s390/mm/Makefile
arch/s390/mm/fault.c
arch/s390/mm/pfault.c [new file with mode: 0644]