svn commit: r208292 - stable/8/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Wed May 19 09:30:42 UTC 2010


Author: kib
Date: Wed May 19 09:30:41 2010
New Revision: 208292
URL: http://svn.freebsd.org/changeset/base/208292

Log:
  MFC r207957:
  Remove unneeded overrides of the segment registers.

Modified:
  stable/8/sys/amd64/amd64/trap.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)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/amd64/amd64/trap.c
==============================================================================
--- stable/8/sys/amd64/amd64/trap.c	Wed May 19 08:57:53 2010	(r208291)
+++ stable/8/sys/amd64/amd64/trap.c	Wed May 19 09:30:41 2010	(r208292)
@@ -485,22 +485,18 @@ trap(struct trapframe *frame)
 			}
 			if (frame->tf_rip == (long)ld_ds) {
 				frame->tf_rip = (long)ds_load_fault;
-				frame->tf_ds = _udatasel;
 				goto out;
 			}
 			if (frame->tf_rip == (long)ld_es) {
 				frame->tf_rip = (long)es_load_fault;
-				frame->tf_es = _udatasel;
 				goto out;
 			}
 			if (frame->tf_rip == (long)ld_fs) {
 				frame->tf_rip = (long)fs_load_fault;
-				frame->tf_fs = _ufssel;
 				goto out;
 			}
 			if (frame->tf_rip == (long)ld_gs) {
 				frame->tf_rip = (long)gs_load_fault;
-				frame->tf_gs = _ugssel;
 				goto out;
 			}
 			if (frame->tf_rip == (long)ld_gsbase) {


More information about the svn-src-all mailing list