9 #define FIO_ARCH (arch_aarch64)
11 #ifndef __NR_ioprio_set
12 #define __NR_ioprio_set 30
13 #define __NR_ioprio_get 31
16 #define nop do { __asm__ __volatile__ ("yield"); } while (0)
17 #define read_barrier() do { __sync_synchronize(); } while (0)
18 #define write_barrier() do { __sync_synchronize(); } while (0)
20 static inline int arch_ffz(unsigned long bitmask)
22 unsigned long count, reversed_bits;
23 if (~bitmask == 0) /* ffz() in lib/ffz.h does this. */
26 __asm__ __volatile__ ("rbit %1, %2\n"
28 "=r"(count), "=&r"(reversed_bits) :