From patchwork Tue Sep 23 22:28:48 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/3] x86: export set_memory_ro() and set_memory_rw() calls Date: Tue, 23 Sep 2008 12:28:48 -0000 From: Jeff Kirsher X-Patchwork-Id: 1195 Message-Id: <20080923222848.6281.23319.stgit@jtkirshe-mobile.jf.intel.com> To: jeff@garzik.org, mingo@elte.hu, davem@davemloft.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jesse.brandeburg@intel.com, john.ronciak@intel.com, Bruce Allan , Jeff Kirsher From: Bruce Allan Export set_memory_ro() and set_memory_rw() calls needed by a follow-on patch to the e1000e driver. Signed-off-by: Bruce Allan Signed-off-by: Jeff Kirsher --- arch/x86/mm/pageattr.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index 43e2f84..0991e15 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c @@ -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) {