diff options
Diffstat (limited to 'include/asm-i386/segment.h')
-rw-r--r-- | include/asm-i386/segment.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-i386/segment.h b/include/asm-i386/segment.h index 07e70624d87c..597a47c2515f 100644 --- a/include/asm-i386/segment.h +++ b/include/asm-i386/segment.h | |||
@@ -75,7 +75,11 @@ | |||
75 | #define __ESPFIX_SS (GDT_ENTRY_ESPFIX_SS * 8) | 75 | #define __ESPFIX_SS (GDT_ENTRY_ESPFIX_SS * 8) |
76 | 76 | ||
77 | #define GDT_ENTRY_PERCPU (GDT_ENTRY_KERNEL_BASE + 15) | 77 | #define GDT_ENTRY_PERCPU (GDT_ENTRY_KERNEL_BASE + 15) |
78 | #ifdef CONFIG_SMP | ||
78 | #define __KERNEL_PERCPU (GDT_ENTRY_PERCPU * 8) | 79 | #define __KERNEL_PERCPU (GDT_ENTRY_PERCPU * 8) |
80 | #else | ||
81 | #define __KERNEL_PERCPU 0 | ||
82 | #endif | ||
79 | 83 | ||
80 | #define GDT_ENTRY_DOUBLEFAULT_TSS 31 | 84 | #define GDT_ENTRY_DOUBLEFAULT_TSS 31 |
81 | 85 | ||