|
@@ -28,6 +28,9 @@ DEFINE_PER_CPU(struct pt_regs *, irq_regs);
|
|
EXPORT_PER_CPU_SYMBOL(irq_regs);
|
|
EXPORT_PER_CPU_SYMBOL(irq_regs);
|
|
|
|
|
|
#ifdef CONFIG_DEBUG_STACKOVERFLOW
|
|
#ifdef CONFIG_DEBUG_STACKOVERFLOW
|
|
|
|
+
|
|
|
|
+int sysctl_panic_on_stackoverflow __read_mostly;
|
|
|
|
+
|
|
/* Debugging check for stack overflow: is there less than 1KB free? */
|
|
/* Debugging check for stack overflow: is there less than 1KB free? */
|
|
static int check_stack_overflow(void)
|
|
static int check_stack_overflow(void)
|
|
{
|
|
{
|