[patch 12/13] GRU Driver V3 - export is_uv_system(), zap_page_range() & follow_page()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <akpm@...>, <linux-kernel@...>
Cc: <mingo@...>, <tglx@...>, <holt@...>, <andrea@...>
Date: Thursday, July 3, 2008 - 5:34 pm

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);

-- 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 12/13] GRU Driver V3 - export is_uv_system(), zap_pa..., , (Thu Jul 3, 5:34 pm)
Re: [patch 12/13] GRU Driver V3 - export is_uv_system(), za..., Christoph Lameter, (Mon Jul 7, 10:45 am)