[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-53b5650273fea486ac8ac6c1d1e9a6cd17aa31ca@git.kernel.org>
Date: Mon, 5 Dec 2011 05:26:18 -0800
From: tip-bot for Ingo Molnar <mingo@...e.hu>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
rdunlap@...otime.net, tglx@...utronix.de,
mitsuo.hayasaka.hu@...achi.com, mingo@...e.hu
Subject: [tip:x86/debug] x86: Fix the 32-bit stackoverflow-debug build
Commit-ID: 53b5650273fea486ac8ac6c1d1e9a6cd17aa31ca
Gitweb: http://git.kernel.org/tip/53b5650273fea486ac8ac6c1d1e9a6cd17aa31ca
Author: Ingo Molnar <mingo@...e.hu>
AuthorDate: Mon, 5 Dec 2011 12:25:44 +0100
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Mon, 5 Dec 2011 12:25:44 +0100
x86: Fix the 32-bit stackoverflow-debug build
The panic_on_stackoverflow variable needs to be avilable
on the 32-bit side as well ...
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@...achi.com>
Cc: Randy Dunlap <rdunlap@...otime.net>
Cc: "H. Peter Anvin" <hpa@...or.com>
Link: http://lkml.kernel.org/r/20111129060836.11076.12323.stgit@ltc219.sdl.hitachi.co.jp
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
arch/x86/kernel/irq_32.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c
index e16e99eb..40fc861 100644
--- a/arch/x86/kernel/irq_32.c
+++ b/arch/x86/kernel/irq_32.c
@@ -28,6 +28,9 @@ DEFINE_PER_CPU(struct pt_regs *, irq_regs);
EXPORT_PER_CPU_SYMBOL(irq_regs);
#ifdef CONFIG_DEBUG_STACKOVERFLOW
+
+int sysctl_panic_on_stackoverflow __read_mostly;
+
/* Debugging check for stack overflow: is there less than 1KB free? */
static int check_stack_overflow(void)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists