Date: Fri, 15 Apr 2011 10:33:20 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r220651 - stable/8/sys/amd64/amd64 Message-ID: <201104151033.p3FAXKWk067322@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Apr 15 10:33:20 2011 New Revision: 220651 URL: http://svn.freebsd.org/changeset/base/220651 Log: MFC r220461: Remove setting of PCB_FULL_IRET at the places where we are going to call update_gdt_{f,g}sbase. The functions set the flag when td == curthread, and sysarch is always called with curthread. Modified: stable/8/sys/amd64/amd64/sys_machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/amd64/amd64/sys_machdep.c ============================================================================== --- stable/8/sys/amd64/amd64/sys_machdep.c Fri Apr 15 07:07:29 2011 (r220650) +++ stable/8/sys/amd64/amd64/sys_machdep.c Fri Apr 15 10:33:20 2011 (r220651) @@ -214,7 +214,6 @@ sysarch(td, uap) if (!error) { pcb->pcb_fsbase = i386base; td->td_frame->tf_fs = _ufssel; - set_pcb_flags(pcb, PCB_FULL_IRET); update_gdt_fsbase(td, i386base); } break; @@ -226,7 +225,6 @@ sysarch(td, uap) error = copyin(uap->parms, &i386base, sizeof(i386base)); if (!error) { pcb->pcb_gsbase = i386base; - set_pcb_flags(pcb, PCB_FULL_IRET); td->td_frame->tf_gs = _ugssel; update_gdt_gsbase(td, i386base); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104151033.p3FAXKWk067322>