提交 cc5b9a45 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

s390/mm,pageattr: remove superfluous EXPORT_SYMBOLs

Remove some EXPORT_SYMBOLs. There is no module code anywhere
which calls these pageattr functions.
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 5b1ba9e3
...@@ -53,21 +53,18 @@ int set_memory_ro(unsigned long addr, int numpages) ...@@ -53,21 +53,18 @@ int set_memory_ro(unsigned long addr, int numpages)
change_page_attr(addr, numpages, pte_wrprotect); change_page_attr(addr, numpages, pte_wrprotect);
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(set_memory_ro);
int set_memory_rw(unsigned long addr, int numpages) int set_memory_rw(unsigned long addr, int numpages)
{ {
change_page_attr(addr, numpages, pte_mkwrite); change_page_attr(addr, numpages, pte_mkwrite);
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(set_memory_rw);
/* not possible */ /* not possible */
int set_memory_nx(unsigned long addr, int numpages) int set_memory_nx(unsigned long addr, int numpages)
{ {
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(set_memory_nx);
int set_memory_x(unsigned long addr, int numpages) int set_memory_x(unsigned long addr, int numpages)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册