提交 0d39741a 编写于 作者: J Jack Steiner 提交者: Linus Torvalds

GRU Driver: export is_uv_system(), zap_page_range() & follow_page()

Exports needed by the GRU driver.
Signed-off-by: NJack Steiner <steiner@sgi.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3c45f692
...@@ -99,3 +99,4 @@ int is_uv_system(void) ...@@ -99,3 +99,4 @@ int is_uv_system(void)
{ {
return uv_system_type != UV_NONE; return uv_system_type != UV_NONE;
} }
EXPORT_SYMBOL_GPL(is_uv_system);
...@@ -993,6 +993,7 @@ unsigned long zap_page_range(struct vm_area_struct *vma, unsigned long address, ...@@ -993,6 +993,7 @@ unsigned long zap_page_range(struct vm_area_struct *vma, unsigned long address,
tlb_finish_mmu(tlb, address, end); tlb_finish_mmu(tlb, address, end);
return end; return end;
} }
EXPORT_SYMBOL_GPL(zap_page_range);
/** /**
* zap_vma_ptes - remove ptes mapping the vma * zap_vma_ptes - remove ptes mapping the vma
...@@ -1110,6 +1111,7 @@ struct page *follow_page(struct vm_area_struct *vma, unsigned long address, ...@@ -1110,6 +1111,7 @@ struct page *follow_page(struct vm_area_struct *vma, unsigned long address,
} }
return page; return page;
} }
EXPORT_SYMBOL_GPL(follow_page);
/* Can we do the FOLL_ANON optimization? */ /* Can we do the FOLL_ANON optimization? */
static inline int use_zero_page(struct vm_area_struct *vma) static inline int use_zero_page(struct vm_area_struct *vma)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册