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
This commit is contained in:
cperciva 2010-12-31 17:39:58 +00:00
parent 76aea5c53e
commit a7dfcf0362

View File

@ -253,7 +253,6 @@ pte_load_store(pt_entry_t *ptep, pt_entry_t v)
{
pt_entry_t r;
v = xpmap_ptom(v);
r = *ptep;
PT_SET_VA(ptep, v, TRUE);
return (r);