Jens Axboe | c28b912 | 2009-09-01 07:23:57 +0200 | [diff] [blame] | 1 | #ifndef ARCH_MIPS64_H |
| 2 | #define ARCH_MIPS64_H |
| 3 | |
| 4 | #define ARCH (arch_mips) |
| 5 | |
| 6 | #ifndef __NR_ioprio_set |
| 7 | #define __NR_ioprio_set 314 |
| 8 | #define __NR_ioprio_get 315 |
| 9 | #endif |
| 10 | |
| 11 | #ifndef __NR_fadvise64 |
| 12 | #define __NR_fadvise64 215 |
| 13 | #endif |
| 14 | |
| 15 | #ifndef __NR_sys_splice |
| 16 | #define __NR_sys_splice 263 |
| 17 | #define __NR_sys_tee 265 |
| 18 | #define __NR_sys_vmsplice 266 |
| 19 | #endif |
| 20 | |
| 21 | #define read_barrier() __asm__ __volatile__("": : :"memory") |
| 22 | #define write_barrier() __asm__ __volatile__("": : :"memory") |
| 23 | #define nop __asm__ __volatile__("": : :"memory") |
| 24 | |
| 25 | #endif |