projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda6263
)
x86: Fix the 32-bit stackoverflow-debug build
author
Ingo Molnar
<mingo@elte.hu>
Mon, 5 Dec 2011 11:25:44 +0000
(12:25 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 5 Dec 2011 11:25:44 +0000
(12:25 +0100)
The panic_on_stackoverflow variable needs to be avilable
on the 32-bit side as well ...
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link:
http://lkml.kernel.org/r/20111129060836.11076.12323.stgit@ltc219.sdl.hitachi.co.jp
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/irq_32.c
b/arch/x86/kernel/irq_32.c
index e16e99ebd7ad3b158d90c6cd9951d0bb3feee659..40fc86161d92e10e8d8d8afe740bc5f06a0bfc80 100644
(file)
--- 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)
{