summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2019-03-06 16:38:06 -0500
committerThomas Gleixner <tglx@linutronix.de>2019-03-06 23:03:27 +0100
commita2863b53418d7d8f6332adf0cfb32611def0c4b9 (patch)
treef67fe252b23143b9f1b4cfdf78b82dfdaf8b366f /arch
parentac5ceccce5501e43d217c596e4ee859f2a3fef79 (diff)
Revert "x86_64: Increase stack size for KASAN_EXTRA"
This reverts commit a8e911d13540487942d53137c156bd7707f66e5d. KASAN_EXTRA was removed via the commit 7771bdbbfd3d ("kasan: remove use after scope bugs detection."), so this is no longer needed. Signed-off-by: Qian Cai <cai@lca.pw> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@kernel.org> Cc: bp@alien8.de Cc: akpm@linux-foundation.org Cc: aryabinin@virtuozzo.com Cc: glider@google.com Cc: dvyukov@google.com Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20190306213806.46139-1-cai@lca.pw
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/page_64_types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/page_64_types.h b/arch/x86/include/asm/page_64_types.h
index 0ce558a8150d..8f657286d599 100644
--- a/arch/x86/include/asm/page_64_types.h
+++ b/arch/x86/include/asm/page_64_types.h
@@ -7,11 +7,7 @@
#endif
#ifdef CONFIG_KASAN
-#ifdef CONFIG_KASAN_EXTRA
-#define KASAN_STACK_ORDER 2
-#else
#define KASAN_STACK_ORDER 1
-#endif
#else
#define KASAN_STACK_ORDER 0
#endif