lkml.org 
[lkml]   [2008]   [Jul]   [3]   [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 V3 - export is_uv_system(), zap_page_range() & follow_page()
Exports needed by 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-07-03 15:57:13.000000000 -0500
+++ linux/mm/memory.c 2008-07-03 16:19:09.000000000 -0500
@@ -995,6 +995,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.
@@ -1089,6 +1090,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)
Index: linux/arch/x86/kernel/genapic_64.c
===================================================================
--- linux.orig/arch/x86/kernel/genapic_64.c 2008-07-03 15:59:07.000000000 -0500
+++ linux/arch/x86/kernel/genapic_64.c 2008-07-03 16:19:09.000000000 -0500
@@ -102,3 +102,4 @@ int is_uv_system(void)
{
return uv_system_type != UV_NONE;
}
+EXPORT_SYMBOL_GPL(is_uv_system);
--


\
 
 \ /
  Last update: 2008-07-03 23:55    [W:0.086 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site