Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _S390_CACHEFLUSH_H |
| 2 | #define _S390_CACHEFLUSH_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | /* Caches aren't brain-dead on the s390. */ |
Akinobu Mita | 786cca8 | 2011-01-31 11:30:07 +0100 | [diff] [blame] | 5 | #include <asm-generic/cacheflush.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
Jan Glauber | 305b152 | 2011-03-15 17:08:22 +0100 | [diff] [blame] | 7 | int set_memory_ro(unsigned long addr, int numpages); |
| 8 | int set_memory_rw(unsigned long addr, int numpages); |
| 9 | int set_memory_nx(unsigned long addr, int numpages); |
Jan Glauber | 448694a | 2011-05-19 16:55:26 -0600 | [diff] [blame] | 10 | int set_memory_x(unsigned long addr, int numpages); |
Jan Glauber | 305b152 | 2011-03-15 17:08:22 +0100 | [diff] [blame] | 11 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #endif /* _S390_CACHEFLUSH_H */ |