1 #ifndef ARCH_ALPHA_H 2 #define ARCH_ALPHA_H 3 4 #define FIO_ARCH (arch_alpha) 5 6 #ifndef __NR_ioprio_set 7 #define __NR_ioprio_set 442 8 #define __NR_ioprio_get 443 9 #endif 10 11 #ifndef __NR_fadvise64 12 #define __NR_fadvise64 413 13 #endif 14 15 #ifndef __NR_sys_splice 16 #define __NR_sys_splice 468 17 #define __NR_sys_tee 470 18 #define __NR_sys_vmsplice 471 19 #endif 20 21 #define nop do { } while (0) 22 #define read_barrier() __asm__ __volatile__("mb": : :"memory") 23 #define write_barrier() __asm__ __volatile__("wmb": : :"memory") 24 25 #endif 26