Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _S390_CACHEFLUSH_H |
2 | #define _S390_CACHEFLUSH_H | |
3 | ||
1da177e4 | 4 | /* Caches aren't brain-dead on the s390. */ |
786cca88 | 5 | #include <asm-generic/cacheflush.h> |
1da177e4 | 6 | |
2485579b HC |
7 | #ifdef CONFIG_DEBUG_PAGEALLOC |
8 | void kernel_map_pages(struct page *page, int numpages, int enable); | |
9 | #endif | |
10 | ||
305b1523 JG |
11 | int set_memory_ro(unsigned long addr, int numpages); |
12 | int set_memory_rw(unsigned long addr, int numpages); | |
13 | int set_memory_nx(unsigned long addr, int numpages); | |
448694a1 | 14 | int set_memory_x(unsigned long addr, int numpages); |
305b1523 | 15 | |
1da177e4 | 16 | #endif /* _S390_CACHEFLUSH_H */ |