SMP test kernel patch

David S. Miller (davem@jenolan.rutgers.edu)
Tue, 21 Jan 1997 12:14:57 -0500


Can people reporting that the test SMP kernel I announced the other
day doesn't work, please try this patch?

--- arch/i386/kernel/process.c.~1~ Sun Jan 19 18:46:01 1997
+++ arch/i386/kernel/process.c Tue Jan 21 12:11:54 1997
@@ -494,7 +494,7 @@
p->tss.esp = (unsigned long) childregs;
#ifdef __SMP__
p->tss.eip = (unsigned long) ret_from_smpfork;
- p->tss.eflags = regs->eflags & 0xfff7cfff; /* iopl always 0 for a new process */
+ p->tss.eflags = regs->eflags & 0xffffcdff; /* iopl always 0 for a new process */
#else
p->tss.eip = (unsigned long) ret_from_sys_call;
p->tss.eflags = regs->eflags & 0xffffcfff; /* iopl always 0 for a new process */