Displaying 2 results from an estimated 2 matches for "__pte_val".
Did you mean:
__pte_ma
2008 Feb 01
0
[PATCH] linux/x86: make xen_change_pte_range() compatible with CONFIG_HIGHPTE
...offset_map_lock(mm, pmd, addr, &ptl);
do {
if (pte_present(*pte)) {
- u[i].ptr = virt_to_machine(pte) | MMU_PT_UPDATE_PRESERVE_AD;
+ u[i].ptr = (__pmd_val(*pmd) & PHYSICAL_PAGE_MASK)
+ | ((unsigned long)pte & ~PAGE_MASK)
+ | MMU_PT_UPDATE_PRESERVE_AD;
u[i].val = __pte_val(pte_modify(*pte, newprot));
if (++i == MAX_BATCHED_FULL_PTES) {
if ((rc = HYPERVISOR_mmu_update(
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Oct 25
1
[PATCH] linux: Allow actually using CONFIG_XEN_BLKDEV_TAP=m
...=============================================================
--- head-2007-10-15.orig/arch/i386/mm/hypervisor.c 2007-10-19 17:17:09.000000000 +0200
+++ head-2007-10-15/arch/i386/mm/hypervisor.c 2007-10-19 17:17:59.000000000 +0200
@@ -56,6 +56,7 @@ void xen_l1_entry_update(pte_t *ptr, pte
u.val = __pte_val(val);
BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0);
}
+EXPORT_SYMBOL_GPL(xen_l1_entry_update);
void xen_l2_entry_update(pmd_t *ptr, pmd_t val)
{
Index: head-2007-10-15/drivers/xen/blktap/blktap.c
===================================================================
--- hea...