arch-ppc.h: Add ilog2 implementation for ppc64
[fio.git] / arch / arch-sparc.h
CommitLineData
697a606c
JA
1#ifndef ARCH_SPARC_H
2#define ARCH_SPARC_H
3
cca84643 4#define FIO_ARCH (arch_sparc)
697a606c
JA
5
6#ifndef __NR_ioprio_set
7#define __NR_ioprio_set 196
8#define __NR_ioprio_get 218
9#endif
10
11#ifndef __NR_fadvise64
12#define __NR_fadvise64 209
13#endif
14
15#ifndef __NR_sys_splice
16#define __NR_sys_splice 232
17#define __NR_sys_tee 280
18#define __NR_sys_vmsplice 25
19#endif
20
21#define nop do { } while (0)
22
23#define read_barrier() __asm__ __volatile__ ("" : : : "memory")
44c47feb 24#define write_barrier() __asm__ __volatile__ ("" : : : "memory")
697a606c
JA
25
26#endif