diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2023-07-24 17:20:26 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2023-07-29 14:57:18 +0200 |
| commit | c28c07fe235ccaafe11003393de064b2a24dd2e3 (patch) | |
| tree | b09e871cf9860fc44c94dc3e01f7a787882ddf8e /arch/s390/kernel | |
| parent | 8b46451c8bd63da543598ef8e0d67cb52281c6ef (diff) | |
| download | linux-c28c07fe235ccaafe11003393de064b2a24dd2e3.tar.gz linux-c28c07fe235ccaafe11003393de064b2a24dd2e3.tar.bz2 linux-c28c07fe235ccaafe11003393de064b2a24dd2e3.zip | |
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>
Diffstat (limited to 'arch/s390/kernel')
| -rw-r--r-- | arch/s390/kernel/machine_kexec.c | 1 | ||||
| -rw-r--r-- | arch/s390/kernel/smp.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/machine_kexec.c b/arch/s390/kernel/machine_kexec.c index 6d9276c096a6..12a2bd4fc88c 100644 --- a/arch/s390/kernel/machine_kexec.c +++ b/arch/s390/kernel/machine_kexec.c @@ -13,6 +13,7 @@ #include <linux/reboot.h> #include <linux/ftrace.h> #include <linux/debug_locks.h> +#include <asm/pfault.h> #include <asm/cio.h> #include <asm/setup.h> #include <asm/smp.h> diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index f9a2b755f510..9244130721d6 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -37,6 +37,7 @@ #include <linux/crash_dump.h> #include <linux/kprobes.h> #include <asm/asm-offsets.h> +#include <asm/pfault.h> #include <asm/diag.h> #include <asm/switch_to.h> #include <asm/facility.h> |
