From 094686d30d5f58780a1efda2ade5cb0d18e25f82 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 19 Feb 2002 18:10:45 +0100 Subject: - the new vmalloc_to_page() interface should be used to determine the physical page a given vmalloc() area virtual address is mapped to. --- include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/mm.h b/include/linux/mm.h index 5377dd7836cc..b0427754e619 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -516,6 +516,8 @@ static inline struct vm_area_struct * find_vma_intersection(struct mm_struct * m extern struct vm_area_struct *find_extend_vma(struct mm_struct *mm, unsigned long addr); +extern struct page * vmalloc_to_page(pgd_t *pgd, unsigned long adr); + #endif /* __KERNEL__ */ #endif -- cgit v1.2.3