summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2008-07-30 09:34:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 20:41:48 +0400
commit0d39741a27d86d305cc75ba626392be410dcbab9 (patch)
tree3234c7004288ced685c5471820fd52fda89d161e
parent3c45f6928322773b1810fbec1ece77056f914114 (diff)
downloadlinux-0d39741a27d86d305cc75ba626392be410dcbab9.tar.xz
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>
-rw-r--r--arch/x86/kernel/genapic_64.c1
-rw-r--r--mm/memory.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c
index 1fa8be5bd217..eaff0bbb1444 100644
--- a/arch/x86/kernel/genapic_64.c
+++ b/arch/x86/kernel/genapic_64.c
@@ -99,3 +99,4 @@ int is_uv_system(void)
{
return uv_system_type != UV_NONE;
}
+EXPORT_SYMBOL_GPL(is_uv_system);
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,
tlb_finish_mmu(tlb, address, end);
return end;
}
+EXPORT_SYMBOL_GPL(zap_page_range);
/**
* zap_vma_ptes - remove ptes mapping the vma
@@ -1110,6 +1111,7 @@ no_page_table:
}
return page;
}
+EXPORT_SYMBOL_GPL(follow_page);
/* Can we do the FOLL_ANON optimization? */
static inline int use_zero_page(struct vm_area_struct *vma)