Steven Rostedt
2007-Apr-18 13:02 UTC
[RFC/PATCH LGUEST X86_64 02/13] hvvm export page utils
plain text document attachment (hvvm-mm-export.patch) I would like to have the HV VM code in the kernel proper, but until then, it needs to get at some of the memory page table utils (pud_alloc and friends). So as a module, we export this. I probably can change HV VM to just be compiled in the kernel like some of the other lguest stuff too. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Cc: Glauber de Oliveira Costa <glommer@gmail.com> Cc: Chris Wright <chrisw@sous-sol.org> Index: work-pv/mm/memory.c ==================================================================--- work-pv.orig/mm/memory.c +++ work-pv/mm/memory.c @@ -2798,3 +2798,10 @@ int access_process_vm(struct task_struct return buf - old_buf; } EXPORT_SYMBOL_GPL(access_process_vm); + +/* temp until we put the hv vm stuff into the kernel */ +EXPORT_SYMBOL_GPL(__pud_alloc); +EXPORT_SYMBOL_GPL(__pmd_alloc); +EXPORT_SYMBOL_GPL(__pte_alloc_kernel); +EXPORT_SYMBOL_GPL(pmd_clear_bad); +EXPORT_SYMBOL_GPL(pud_clear_bad); --
Reasonably Related Threads
- [RFC/PATCH LGUEST X86_64 02/13] hvvm export page utils
- [patch 1/9] lguest: export symbols for lguest as a module
- [patch 1/9] lguest: export symbols for lguest as a module
- [PATCH] Add macros for acessing lguest fields
- [PATCH] Add macros for acessing lguest fields