patch-2.1.77 linux/arch/i386/kernel/signal.c
Next file: linux/arch/i386/kernel/smp.c
Previous file: linux/arch/i386/kernel/ptrace.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Dec 30 07:58:00 1997
- Orig file:
v2.1.76/linux/arch/i386/kernel/signal.c
- Orig date:
Sun Dec 21 22:36:12 1997
diff -u --recursive --new-file v2.1.76/linux/arch/i386/kernel/signal.c linux/arch/i386/kernel/signal.c
@@ -416,7 +416,7 @@
{
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;
@@ -488,7 +488,7 @@
{
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