lkml.org 
[lkml]   [2008]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 12/13] GRU Driver V2 - Export is_uv_system(), zap_page_range() & follow_page()
Exports for the GRU driver


Signed-off-by: Jack Steiner <steiner@sgi.com>


---
mm/memory.c | 2 ++

---
arch/x86/kernel/genapic_64.c | 1 +
mm/memory.c | 2 ++
2 files changed, 3 insertions(+)

Index: linux/mm/memory.c
===================================================================
--- linux.orig/mm/memory.c 2008-06-14 10:14:18.529134316 -0500
+++ linux/mm/memory.c 2008-06-14 19:02:34.635257646 -0500
@@ -955,6 +955,7 @@ unsigned long zap_page_range(struct vm_a
tlb_finish_mmu(tlb, address, end);
return end;
}
+EXPORT_SYMBOL_GPL(zap_page_range);

/*
* Do a quick page-table lookup for a single page.
@@ -1037,6 +1038,7 @@ no_page_table:
}
return page;
}
+EXPORT_SYMBOL_GPL(follow_page);

int get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
unsigned long start, int len, int write, int force,
Index: linux/arch/x86/kernel/genapic_64.c
===================================================================
--- linux.orig/arch/x86/kernel/genapic_64.c 2008-06-14 19:02:31.000000000 -0500
+++ linux/arch/x86/kernel/genapic_64.c 2008-06-14 19:03:37.863114445 -0500
@@ -99,3 +99,4 @@ int is_uv_system(void)
{
return uv_system_type != UV_NONE;
}
+EXPORT_SYMBOL_GPL(is_uv_system);
--


\
 
 \ /
  Last update: 2008-06-15 16:25    [W:0.054 / U:0.016 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site