summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/page_32_types.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-04-14 17:59:44 +0200
committerBorislav Petkov <bp@suse.de>2019-04-17 12:45:29 +0200
commit30842211506e376b76394a9cb4e6d0c9d258b8d4 (patch)
tree561d16f526b422d8e0c53ebd1a3871c8b8e8f702 /arch/x86/include/asm/page_32_types.h
parent6f36bd8d2e8c221eaaf4ce5b0ebbb11c00b0ac98 (diff)
x86/exceptions: Remove unused stack defines on 32bit
Nothing requires those for 32bit builds. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Sean Christopherson <sean.j.christopherson@intel.com> Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/20190414160144.227822695@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/page_32_types.h')
-rw-r--r--arch/x86/include/asm/page_32_types.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/include/asm/page_32_types.h b/arch/x86/include/asm/page_32_types.h
index 0d5c739eebd7..57b5dc15ca7e 100644
--- a/arch/x86/include/asm/page_32_types.h
+++ b/arch/x86/include/asm/page_32_types.h
@@ -22,11 +22,7 @@
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
-#define DOUBLEFAULT_STACK 1
-#define NMI_STACK 0
-#define DEBUG_STACK 0
-#define MCE_STACK 0
-#define N_EXCEPTION_STACKS 1
+#define N_EXCEPTION_STACKS 1
#ifdef CONFIG_X86_PAE
/*