mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
13 lines
323 B
C
13 lines
323 B
C
![]() |
#ifndef __ASM_SET_MEMORY_H
|
||
|
#define __ASM_SET_MEMORY_H
|
||
|
|
||
|
/*
|
||
|
* Functions to change memory attributes.
|
||
|
*/
|
||
|
int set_memory_ro(unsigned long addr, int numpages);
|
||
|
int set_memory_rw(unsigned long addr, int numpages);
|
||
|
int set_memory_x(unsigned long addr, int numpages);
|
||
|
int set_memory_nx(unsigned long addr, int numpages);
|
||
|
|
||
|
#endif
|