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:
parent
76aea5c53e
commit
a7dfcf0362
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user