GRU Driver: export is_uv_system(), zap_page_range() & follow_page()
authorJack Steiner <steiner@sgi.com>
Wed, 30 Jul 2008 05:34:01 +0000 (22:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:48 +0000 (09:41 -0700)
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>
arch/x86/kernel/genapic_64.c
mm/memory.c

index 1fa8be5bd217b5c45a649e6745b847567a9553f6..eaff0bbb1444b73d7110782130ec78ed12f9e520 100644 (file)
@@ -99,3 +99,4 @@ int is_uv_system(void)
 {
        return uv_system_type != UV_NONE;
 }
+EXPORT_SYMBOL_GPL(is_uv_system);
index 6793b9c681074ffb63b3c01765a5cc75aac462ec..0e4eea10c7b0bd63579e0c2e25a6ae1ae51551bb 100644 (file)
@@ -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)