]> git.baikalelectronics.ru Git - kernel.git/commit
x86/platform/uv: Remove dead !CONFIG_KEXEC_CORE code
authorIngo Molnar <mingo@kernel.org>
Tue, 20 Apr 2021 08:03:02 +0000 (10:03 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Apr 2021 08:08:34 +0000 (10:08 +0200)
commit158a52bb0727d2d47de8fb7126731bf113f40444
tree29dfc8c5201edec3d1a0b43ee981252b8832ea8f
parent34dc91546debee158dda098ba6066129a45a4498
x86/platform/uv: Remove dead !CONFIG_KEXEC_CORE code

The !CONFIG_KEXEC_CORE code in arch/x86/platform/uv/uv_nmi.c was unused, untested
and didn't even build for 7 years. Since we fixed this by requiring X86_UV to
depend on CONFIG_KEXEC_CORE, remove the (now) dead code.

Also move the uv_nmi_kexec_failed definition back up to where the other file-scope
global variables are defined.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Mike Travis <travis@sgi.com>
Cc: linux-kernel@vger.kernel.org
arch/x86/platform/uv/uv_nmi.c