patch-2.1.77 linux/include/asm-i386/processor.h

Next file: linux/include/asm-i386/uaccess.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
@@ -172,7 +172,7 @@
 	_LDT(0),0, \
 	0, 0x8000, \
 	{~0, }, /* ioperm */ \
-	_TSS(0), 0, 0, 0, KERNEL_DS, \
+	_TSS(0), 0, 0, 0, (mm_segment_t) { 0 } /* obsolete */ , \
 	{ { 0, }, },  /* 387 state */ \
 	NULL, 0, 0, 0, 0, 0 /* vm86_info */, \
 }
@@ -180,7 +180,7 @@
 #define start_thread(regs, new_eip, new_esp) do {\
 	unsigned long seg = __USER_DS; \
 	__asm__("mov %w0,%%fs ; mov %w0,%%gs":"=r" (seg) :"0" (seg)); \
-	set_fs(MAKE_MM_SEG(seg)); \
+	set_fs(USER_DS); \
 	regs->xds = seg; \
 	regs->xes = seg; \
 	regs->xss = seg; \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov