diff options
author | Baoquan He <bhe@redhat.com> | 2024-01-24 13:12:51 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-23 17:48:24 -0800 |
commit | d739f190c035230d535ef9ce34a3789c8d5929fd (patch) | |
tree | cbc8c3e1952070a3d91175f73614b13bda90b242 /arch/riscv/mm/init.c | |
parent | e389263561d8b57cbefc3f48ded821c99594e1de (diff) | |
download | linux-stable-d739f190c035230d535ef9ce34a3789c8d5929fd.tar.gz linux-stable-d739f190c035230d535ef9ce34a3789c8d5929fd.tar.bz2 linux-stable-d739f190c035230d535ef9ce34a3789c8d5929fd.zip |
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>
Diffstat (limited to 'arch/riscv/mm/init.c')
0 files changed, 0 insertions, 0 deletions