patch-2.4.8 linux/arch/i386/kernel/process.c
Next file: linux/arch/i386/math-emu/poly.h
Previous file: linux/arch/i386/kernel/msr.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Wed Jul 25 18:19:11 2001
- Orig file:
v2.4.7/linux/arch/i386/kernel/process.c
- Orig date:
Wed Jul 25 17:10:17 2001
diff -u --recursive --new-file v2.4.7/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -518,6 +518,7 @@
memcpy(ldt, old_ldt, LDT_ENTRIES*LDT_ENTRY_SIZE);
}
new_mm->context.segments = ldt;
+ new_mm->context.cpuvalid = ~0UL; /* valid on all CPU's - they can't have stale data */
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)