Skip to contentSkip to conversation

x86: export set_memory_ro() and set_memory_rw() calls

PATCH Applied Jeff Kirsher 1 participant 1 message Sep 23, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 x86: export set_memory_ro() and set_memory_rw() calls

From: Bruce Allan <[email protected]>

Export set_memory_ro() and set_memory_rw() calls needed by a follow-on patch to the e1000e driver.

---

 arch/x86/mm/pageattr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/x86/mm/pageattr.c +2 -0
index 43e2f84..0991e15 100644
@@ -906,11 +906,13 @@ int set_memory_ro(unsigned long addr, int numpages)
 {
 	return change_page_attr_clear(addr, numpages, __pgprot(_PAGE_RW));
 }
+EXPORT_SYMBOL(set_memory_ro);
 
 int set_memory_rw(unsigned long addr, int numpages)
 {
 	return change_page_attr_set(addr, numpages, __pgprot(_PAGE_RW));
 }
+EXPORT_SYMBOL(set_memory_rw);
 
 int set_memory_np(unsigned long addr, int numpages)
 {