cregit-Linux how code gets into the kernel

Release 4.11 arch/s390/include/asm/cacheflush.h

#ifndef _S390_CACHEFLUSH_H

#define _S390_CACHEFLUSH_H

/* Caches aren't brain-dead on the s390. */
#include <asm-generic/cacheflush.h>


#define SET_MEMORY_RO	1UL

#define SET_MEMORY_RW	2UL

#define SET_MEMORY_NX	4UL

#define SET_MEMORY_X	8UL

int __set_memory(unsigned long addr, int numpages, unsigned long flags);


static inline int set_memory_ro(unsigned long addr, int numpages) { return __set_memory(addr, numpages, SET_MEMORY_RO); }

Contributors

PersonTokensPropCommitsCommitProp
Martin Schwidefsky24100.00%1100.00%
Total24100.00%1100.00%


static inline int set_memory_rw(unsigned long addr, int numpages) { return __set_memory(addr, numpages, SET_MEMORY_RW); }

Contributors

PersonTokensPropCommitsCommitProp
Martin Schwidefsky1458.33%150.00%
Jan Glauber1041.67%150.00%
Total24100.00%2100.00%


static inline int set_memory_nx(unsigned long addr, int numpages) { return __set_memory(addr, numpages, SET_MEMORY_NX); }

Contributors

PersonTokensPropCommitsCommitProp
Martin Schwidefsky1458.33%150.00%
Jan Glauber1041.67%150.00%
Total24100.00%2100.00%


static inline int set_memory_x(unsigned long addr, int numpages) { return __set_memory(addr, numpages, SET_MEMORY_X); }

Contributors

PersonTokensPropCommitsCommitProp
Martin Schwidefsky1458.33%150.00%
Jan Glauber1041.67%150.00%
Total24100.00%2100.00%

#endif /* _S390_CACHEFLUSH_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Martin Schwidefsky9870.00%240.00%
Jan Glauber4028.57%240.00%
Akinobu Mita21.43%120.00%
Total140100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.