Contributors: 7
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Laura Abbott |
86 |
60.14% |
2 |
25.00% |
Arnd Bergmann |
32 |
22.38% |
1 |
12.50% |
Andi Kleen |
7 |
4.90% |
1 |
12.50% |
Kefeng Wang |
7 |
4.90% |
1 |
12.50% |
Linus Torvalds (pre-git) |
6 |
4.20% |
1 |
12.50% |
Catalin Marinas |
3 |
2.10% |
1 |
12.50% |
Thomas Gleixner |
2 |
1.40% |
1 |
12.50% |
Total |
143 |
|
8 |
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 1999-2002 Russell King
*/
#ifndef _ASMARM_SET_MEMORY_H
#define _ASMARM_SET_MEMORY_H
#ifdef CONFIG_MMU
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);
int set_memory_valid(unsigned long addr, int numpages, int enable);
#else
static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; }
static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; }
static inline int set_memory_x(unsigned long addr, int numpages) { return 0; }
static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; }
#endif
#endif