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

From: steiner
Date: Sun Jun 15 2008 - 10:05:46 EST


Exports for the GRU driver


Signed-off-by: Jack Steiner <steiner@xxxxxxx>


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

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/