panic: add sysctl to dump all CPUs backtraces on oops event
[sfrench/cifs-2.6.git] / include / linux / kernel.h
index f7835db7102eafb168dce7a046cf3c491e0df6d4..82d91547d122d50ef1f0afedb566b80aca2b3863 100644 (file)
@@ -520,6 +520,12 @@ static inline u32 int_sqrt64(u64 x)
 }
 #endif
 
+#ifdef CONFIG_SMP
+extern unsigned int sysctl_oops_all_cpu_backtrace;
+#else
+#define sysctl_oops_all_cpu_backtrace 0
+#endif /* CONFIG_SMP */
+
 extern void bust_spinlocks(int yes);
 extern int oops_in_progress;           /* If set, an oops, panic(), BUG() or die() is in progress */
 extern int panic_timeout;