blob: ef14437c0e27fb9e14a7955073feaf5dfcf29814 [file] [log] [blame]
Jens Axboeebac4652005-12-08 15:25:21 +01001#ifndef ARCH_ALPHA_H
2#define ARCH_ALPHA_H
3
4#define 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
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")
23#define writer_barrier() __asm__ __volatile__("wmb": : :"memory")
Jens Axboeebac4652005-12-08 15:25:21 +010024
Jens Axboeebac4652005-12-08 15:25:21 +010025#endif