]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/asm-generic/set_memory.h
Merge tag 'for-linus-4.15-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / include / asm-generic / set_memory.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SET_MEMORY_H
3 #define __ASM_SET_MEMORY_H
4
5 /*
6 * Functions to change memory attributes.
7 */
8 int set_memory_ro(unsigned long addr, int numpages);
9 int set_memory_rw(unsigned long addr, int numpages);
10 int set_memory_x(unsigned long addr, int numpages);
11 int set_memory_nx(unsigned long addr, int numpages);
12
13 #endif