blob: 58fae7d098cf0993f7484b3f2df7191fe1afe14d [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _S390_CACHEFLUSH_H
2#define _S390_CACHEFLUSH_H
3
Linus Torvalds1da177e2005-04-16 15:20:36 -07004/* Caches aren't brain-dead on the s390. */
Akinobu Mita786cca82011-01-31 11:30:07 +01005#include <asm-generic/cacheflush.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Jan Glauber305b1522011-03-15 17:08:22 +01007int set_memory_ro(unsigned long addr, int numpages);
8int set_memory_rw(unsigned long addr, int numpages);
9int set_memory_nx(unsigned long addr, int numpages);
Jan Glauber448694a2011-05-19 16:55:26 -060010int set_memory_x(unsigned long addr, int numpages);
Jan Glauber305b1522011-03-15 17:08:22 +010011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#endif /* _S390_CACHEFLUSH_H */