diff options
author | 2025-03-27 23:46:22 +0000 | |
---|---|---|
committer | 2025-04-01 22:25:56 +0200 | |
commit | 78a0323506f01e8017a5826cd7e91951c13184fa (patch) | |
tree | 8312443b3f2a60a6da2c1308c5cc5e71c0f8dea2 /scripts/gdb/linux/utils.py | |
parent | x86/nmi: Simplify unknown NMI panic handling (diff) | |
download | linux-rng-78a0323506f01e8017a5826cd7e91951c13184fa.tar.xz linux-rng-78a0323506f01e8017a5826cd7e91951c13184fa.zip |
x86/nmi: Consolidate NMI panic variables
Commit:
c305a4e98378 ("x86: Move sysctls into arch/x86")
recently moved the sysctl handling of panic_on_unrecovered_nmi and
panic_on_io_nmi to x86-specific code. These variables no longer need to
be declared in the generic header file.
Relocate the variable definitions and declarations closer to where they
are used. This makes all the NMI panic options consistent and easier to
track.
[ mingo: Fixed up the SHA1 of the commit reference. ]
Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Cc: Joel Granados <joel.granados@kernel.org>
Link: https://lore.kernel.org/r/20250327234629.3953536-3-sohil.mehta@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions