]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: mm: init: remove unnecessary "#ifdef CONFIG_CRASH_DUMP"
authorJisheng Zhang <jszhang@kernel.org>
Mon, 6 Dec 2021 15:03:49 +0000 (23:03 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 19 Jan 2022 17:56:30 +0000 (09:56 -0800)
commit81ac39ab7ca79f0cd4797e4fc83a44cf01e81cca
tree45470b41db37ff9f85070a351e50c2f016c46070
parent643795635c73a27fc94146e92cfd29bae65e5b56
riscv: mm: init: remove unnecessary "#ifdef CONFIG_CRASH_DUMP"

The is_kdump_kernel() returns false for !CRASH_DUMP case, so we don't
need the #ifdef CONFIG_CRASH_DUMP for is_kdump_kernel() checking.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c