[PATCH] Include ETA for job(s) to finish
[fio.git] / arch-x86.h
CommitLineData
ebac4655
JA
1#ifndef ARCH_X86_H
2#define ARCH_X86_H
3
4#define ARCH (arch_i386)
5
6#ifndef __NR_ioprio_set
7#define __NR_ioprio_set 289
8#define __NR_ioprio_get 290
9#endif
10
11#ifndef __NR_fadvise64
12#define __NR_fadvise64 250
13#endif
14
15#define nop __asm__ __volatile__("rep;nop": : :"memory")
16
17static inline unsigned long ffz(unsigned long bitmask)
18{
19 __asm__("bsfl %1,%0" :"=r" (bitmask) :"r" (~bitmask));
20 return bitmask;
21}
22
23#endif