Baoquan He d739f190c0 mips, crash: wrap crash dumping code into crash related ifdefs
Now crash codes under kernel/ folder has been split out from kexec
code, crash dumping can be separated from kexec reboot in config
items on mips with some adjustments.

Here use IS_ENABLED(CONFIG_CRASH_RESERVE) check to decide if compiling
in the crashkernel reservation code.

Link: https://lkml.kernel.org/r/20240124051254.67105-12-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Hari Bathini <hbathini@linux.ibm.com>
Cc: Pingfan Liu <piliu@redhat.com>
Cc: Klara Modin <klarasmodin@gmail.com>
Cc: Michael Kelley <mhklinux@outlook.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-02-23 17:48:24 -08:00
..
2024-01-08 10:39:12 +01:00
2024-01-17 11:20:50 -08:00
2024-01-17 11:20:50 -08:00
2024-01-19 09:10:23 -08:00
2022-05-04 22:22:59 +02:00
2024-01-22 11:12:01 +01:00
2024-01-17 13:03:37 -08:00
2024-01-08 10:39:12 +01:00
2022-09-12 15:33:24 +02:00
2024-01-18 15:16:57 -08:00
2024-01-08 10:39:12 +01:00
2024-01-17 11:20:50 -08:00
2024-01-08 10:39:12 +01:00
2022-05-04 22:22:59 +02:00
2024-01-08 10:39:12 +01:00
2023-10-19 10:39:46 +02:00