summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/doublefault.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/doublefault.h')
-rw-r--r--arch/x86/include/asm/doublefault.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/doublefault.h b/arch/x86/include/asm/doublefault.h
index af9a14ac8962..54a6e4a2e132 100644
--- a/arch/x86/include/asm/doublefault.h
+++ b/arch/x86/include/asm/doublefault.h
@@ -2,7 +2,7 @@
#ifndef _ASM_X86_DOUBLEFAULT_H
#define _ASM_X86_DOUBLEFAULT_H
-#if defined(CONFIG_X86_32) && defined(CONFIG_DOUBLEFAULT)
+#ifdef CONFIG_X86_32
extern void doublefault_init_cpu_tss(void);
#else
static inline void doublefault_init_cpu_tss(void)