Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 1 | #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 Axboe | b12ebc6 | 2007-05-21 11:42:33 +0200 | [diff] [blame] | 15 | #define nop do { } while (0) |
Jens Axboe | db6defc | 2007-12-11 08:55:53 +0100 | [diff] [blame] | 16 | #define read_barrier() __asm__ __volatile__("mb": : :"memory") |
Jens Axboe | ebac465 | 2005-12-08 15:25:21 +0100 | [diff] [blame] | 17 | |
| 18 | #endif |