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: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
5b1ba9e30c
commit
cc5b9a4518
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue