We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25226df commit 9360d03Copy full SHA for 9360d03
kernel/panic.c
@@ -75,8 +75,9 @@ ATOMIC_NOTIFIER_HEAD(panic_notifier_list);
75
76
EXPORT_SYMBOL(panic_notifier_list);
77
78
-#if defined(CONFIG_SMP) && defined(CONFIG_SYSCTL)
+#ifdef CONFIG_SYSCTL
79
static struct ctl_table kern_panic_table[] = {
80
+#ifdef CONFIG_SMP
81
{
82
.procname = "oops_all_cpu_backtrace",
83
.data = &sysctl_oops_all_cpu_backtrace,
@@ -86,6 +87,7 @@ static struct ctl_table kern_panic_table[] = {
86
87
.extra1 = SYSCTL_ZERO,
88
.extra2 = SYSCTL_ONE,
89
},
90
+#endif
91
{ }
92
};
93
0 commit comments