X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=arch%2Farch-x86_64.h;h=21da4125559e392e59ba5c0e4e8bfe75e7ee0a59;hp=8f33fc541ee6f266e96f9f507ccc3782d618392c;hb=6562685f373b9bc5f1ed909281737f55b34934a4;hpb=aa7d2ef092d5a8e417fcddaf8808fb0d48f1064b diff --git a/arch/arch-x86_64.h b/arch/arch-x86_64.h index 8f33fc54..21da4125 100644 --- a/arch/arch-x86_64.h +++ b/arch/arch-x86_64.h @@ -36,6 +36,14 @@ static inline void do_cpuid(unsigned int *eax, unsigned int *ebx, #define __NR_shmdt 67 #endif +#ifndef __NR_preadv2 +#define __NR_preadv2 327 +#endif +#ifndef __NR_pwritev2 +#define __NR_pwritev2 328 +#endif + + #define FIO_HUGE_PAGE 2097152 #define nop __asm__ __volatile__("rep;nop": : :"memory")