Displaying 1 result from an estimated 1 matches for "xen_init_pt".
Did you mean:
xen_init_pv
2008 May 15
0
[PATCH] linux/x86: utilize lookup_address() for virt_to_ptep()
...===============================================================
--- head-2008-05-08.orig/include/asm-x86_64/mach-xen/asm/pgtable.h 2008-05-15 13:44:37.000000000 +0200
+++ head-2008-05-08/include/asm-x86_64/mach-xen/asm/pgtable.h 2008-05-15 13:38:29.000000000 +0200
@@ -18,19 +18,18 @@
extern void xen_init_pt(void);
-#define virt_to_ptep(__va) \
-({ \
- pgd_t *__pgd = pgd_offset_k((unsigned long)(__va)); \
- pud_t *__pud = pud_offset(__pgd, (unsigned long)(__va)); \
- pmd_t *__pmd = pmd_offset(__pud, (unsigned long)(__va)); \
- pte_offset_kernel(__pmd, (unsigned long)(__va)); \
-})
-
-#...