[PATCH] Revert "x86_64: increase stack size for KASAN_EXTRA"

From: Qian Cai
Date: Wed Mar 06 2019 - 16:38:28 EST


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.

Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Qian Cai <cai@xxxxxx>
---
arch/x86/include/asm/page_64_types.h | 4 ----
1 file changed, 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
--
2.17.2 (Apple Git-113)