blob: c0f784f287baa2787da007a402c2880c98912071 [file] [log] [blame]
Jens Axboeebac4652005-12-08 15:25:21 +01001#ifndef ARCH_ALPHA_H
2#define ARCH_ALPHA_H
3
Jens Axboecca84642011-10-07 12:47:57 +02004#define FIO_ARCH (arch_alpha)
Jens Axboeebac4652005-12-08 15:25:21 +01005
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
Jens Axboe9a9c63f2008-06-04 14:48:29 +020015#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
Jens Axboe44c47fe2008-06-04 14:31:25 +020021#define nop do { } while (0)
22#define read_barrier() __asm__ __volatile__("mb": : :"memory")
Martin Steigerwaldd9fcf072009-09-10 09:44:29 +020023#define write_barrier() __asm__ __volatile__("wmb": : :"memory")
Jens Axboeebac4652005-12-08 15:25:21 +010024
Jens Axboeebac4652005-12-08 15:25:21 +010025#endif