blob: 43a5c78046db6cd918939607ae1cd6f7db0ee4e9 [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);
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#endif /* _S390_CACHEFLUSH_H */