summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/set_memory.h
blob: 83e81f8996b22c0d3185e7c61ad0e566ac11aa3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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
OpenPOWER on IntegriCloud