patch-2.1.69 linux/arch/i386/kernel/process.c
Next file: linux/arch/i386/kernel/signal.c
Previous file: linux/arch/i386/kernel/irq.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Dec 1 10:34:10 1997
- Orig file:
v2.1.68/linux/arch/i386/kernel/process.c
- Orig date:
Thu Jul 17 10:06:03 1997
diff -u --recursive --new-file v2.1.68/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -480,13 +480,13 @@
p->tss.tr = _TSS(nr);
p->tss.ldt = _LDT(nr);
- p->tss.es = KERNEL_DS;
- p->tss.cs = KERNEL_CS;
- p->tss.ss = KERNEL_DS;
- p->tss.ds = KERNEL_DS;
- p->tss.fs = USER_DS;
- p->tss.gs = USER_DS;
- p->tss.ss0 = KERNEL_DS;
+ p->tss.es = __KERNEL_DS;
+ p->tss.cs = __KERNEL_CS;
+ p->tss.ss = __KERNEL_DS;
+ p->tss.ds = __KERNEL_DS;
+ p->tss.fs = __USER_DS;
+ p->tss.gs = __USER_DS;
+ p->tss.ss0 = __KERNEL_DS;
p->tss.esp0 = 2*PAGE_SIZE + (unsigned long) p;
childregs = ((struct pt_regs *) (p->tss.esp0)) - 1;
p->tss.esp = (unsigned long) childregs;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov