From: Marcelo T. <mto...@re...> - 2007-12-21 15:22:10
|
follow_page() is required by KVM to find the struct page which maps to a given address in spinlock protected code. Signed-off-by: Marcelo Tosatti <mto...@re...> Index: kvm.quilt/mm/memory.c =================================================================== --- kvm.quilt.orig/mm/memory.c +++ kvm.quilt/mm/memory.c @@ -970,6 +970,7 @@ no_page_table: } return page; } +EXPORT_SYMBOL(follow_page); int get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, int len, int write, int force, -- |