diff options
author | Jack Steiner <steiner@sgi.com> | 2008-07-30 01:34:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:48 -0400 |
commit | 0d39741a27d86d305cc75ba626392be410dcbab9 (patch) | |
tree | 3234c7004288ced685c5471820fd52fda89d161e /mm | |
parent | 3c45f6928322773b1810fbec1ece77056f914114 (diff) |
GRU Driver: export is_uv_system(), zap_page_range() & follow_page()
Exports needed by the GRU driver.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/memory.c b/mm/memory.c index 6793b9c68107..0e4eea10c7b0 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -993,6 +993,7 @@ unsigned long zap_page_range(struct vm_area_struct *vma, unsigned long address, | |||
993 | tlb_finish_mmu(tlb, address, end); | 993 | tlb_finish_mmu(tlb, address, end); |
994 | return end; | 994 | return end; |
995 | } | 995 | } |
996 | EXPORT_SYMBOL_GPL(zap_page_range); | ||
996 | 997 | ||
997 | /** | 998 | /** |
998 | * zap_vma_ptes - remove ptes mapping the vma | 999 | * zap_vma_ptes - remove ptes mapping the vma |
@@ -1110,6 +1111,7 @@ no_page_table: | |||
1110 | } | 1111 | } |
1111 | return page; | 1112 | return page; |
1112 | } | 1113 | } |
1114 | EXPORT_SYMBOL_GPL(follow_page); | ||
1113 | 1115 | ||
1114 | /* Can we do the FOLL_ANON optimization? */ | 1116 | /* Can we do the FOLL_ANON optimization? */ |
1115 | static inline int use_zero_page(struct vm_area_struct *vma) | 1117 | static inline int use_zero_page(struct vm_area_struct *vma) |