blob: 3e20383d09219f8bbbe26ddd731e362870e9676a [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
Heiko Carstens24855792008-02-05 16:50:37 +01007#ifdef CONFIG_DEBUG_PAGEALLOC
8void kernel_map_pages(struct page *page, int numpages, int enable);
9#endif
10
Jan Glauber305b1522011-03-15 17:08:22 +010011int set_memory_ro(unsigned long addr, int numpages);
12int set_memory_rw(unsigned long addr, int numpages);
13int set_memory_nx(unsigned long addr, int numpages);
Jan Glauber448694a2011-05-19 16:55:26 -060014int set_memory_x(unsigned long addr, int numpages);
Jan Glauber305b1522011-03-15 17:08:22 +010015
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#endif /* _S390_CACHEFLUSH_H */