aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-05-03 19:29:52 -0400
committerIngo Molnar <mingo@elte.hu>2009-05-11 10:23:54 -0400
commitd756f4adb9d8a86e347a2d5435bb5cc95744733e (patch)
treebeeb3c4304241b139feec51e21affd0a788b8a99 /arch/x86/include/asm/processor.h
parentedc953fa4ebc0265ef3b1754fe116a9fd4264e15 (diff)
x86, 32-bit: ifdef out struct thread_struct::fs
After commit 464d1a78fbf8cf6c7fd970e7b3e2db50a320ce28 aka "[PATCH] i386: Convert i386 PDA code to use %fs" %fs saved during context switch moved from thread_struct to pt_regs and value on thread_struct became unused. [ Impact: reduce thread_struct size on 32-bit ] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: containers@lists.linux-foundation.org LKML-Reference: <20090503232952.GI16631@x200.localdomain> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index c2cceae709c8..a6732ff7b016 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -428,7 +428,9 @@ struct thread_struct {
428 unsigned short gsindex; 428 unsigned short gsindex;
429#endif 429#endif
430 unsigned long ip; 430 unsigned long ip;
431#ifdef CONFIG_X86_64
431 unsigned long fs; 432 unsigned long fs;
433#endif
432 unsigned long gs; 434 unsigned long gs;
433 /* Hardware debugging registers: */ 435 /* Hardware debugging registers: */
434 unsigned long debugreg0; 436 unsigned long debugreg0;
@@ -874,7 +876,6 @@ static inline void spin_lock_prefetch(const void *x)
874 .vm86_info = NULL, \ 876 .vm86_info = NULL, \
875 .sysenter_cs = __KERNEL_CS, \ 877 .sysenter_cs = __KERNEL_CS, \
876 .io_bitmap_ptr = NULL, \ 878 .io_bitmap_ptr = NULL, \
877 .fs = __KERNEL_PERCPU, \
878} 879}
879 880
880/* 881/*