]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - include/asm-generic/set_memory.h
KVM: export <linux/kvm_para.h> and <asm/kvm_para.h> iif KVM is supported
[thirdparty/kernel/stable.git] / include / asm-generic / set_memory.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
299878ba
LA
2#ifndef __ASM_SET_MEMORY_H
3#define __ASM_SET_MEMORY_H
4
5/*
6 * Functions to change memory attributes.
7 */
8int set_memory_ro(unsigned long addr, int numpages);
9int set_memory_rw(unsigned long addr, int numpages);
10int set_memory_x(unsigned long addr, int numpages);
11int set_memory_nx(unsigned long addr, int numpages);
12
13#endif