Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2010 17:39:58 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216844 - head/sys/i386/include
Message-ID:  <201012311739.oBVHdwBG083526@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Fri Dec 31 17:39:58 2010
New Revision: 216844
URL: http://svn.freebsd.org/changeset/base/216844

Log:
  Make i386_set_ldt work on i386/XEN, step 2/5.
  
  Don't map physical to machine page numbers in pte_load_store, since it uses
  PT_SET_VA (which takes a physical page number and converts it to a machine
  page number).
  
  MFC after:	3 days

Modified:
  head/sys/i386/include/pmap.h

Modified: head/sys/i386/include/pmap.h
==============================================================================
--- head/sys/i386/include/pmap.h	Fri Dec 31 17:39:31 2010	(r216843)
+++ head/sys/i386/include/pmap.h	Fri Dec 31 17:39:58 2010	(r216844)
@@ -253,7 +253,6 @@ pte_load_store(pt_entry_t *ptep, pt_entr
 {
 	pt_entry_t r;
 
-	v = xpmap_ptom(v);
 	r = *ptep;
 	PT_SET_VA(ptep, v, TRUE);
 	return (r);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012311739.oBVHdwBG083526>