CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/11/07 08:41:33
Modified files:
sys/arch/i386/i386: linux_machdep.c sys_machdep.c
sys/arch/i386/include: sysarch.h
Log message:
Lift the copyout() from i386_get_threadbase() to sys_sysarch(), so that
it can be used correctly from linux_sys_get_thread_area() and tcb.h.
linux_sys_set_thread_area() should use the copied in value instead of
deferencing SCARG() again. i386_set_threadbase() should only update
curcpu's GDT if it's being called for curproc.
ok pirofti@