X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=arch%2Farch-x86_64.h;h=d7ea12e0d0723d6e8c8d9d9671cc3ab151d5645b;hp=8bdf01e84dd2a3558c3f2eee6a98f2d17176750c;hb=6a79a4cbe0c9c9a72a1064b55fdefbcb6257942d;hpb=cef9175e52e8a240117b9f45b228fdaa0f1c0572 diff --git a/arch/arch-x86_64.h b/arch/arch-x86_64.h index 8bdf01e8..d7ea12e0 100644 --- a/arch/arch-x86_64.h +++ b/arch/arch-x86_64.h @@ -29,6 +29,13 @@ static inline void do_cpuid(unsigned int *eax, unsigned int *ebx, #define __NR_sys_vmsplice 278 #endif +#ifndef __NR_shmget +#define __NR_shmget 29 +#define __NR_shmat 30 +#define __NR_shmctl 31 +#define __NR_shmdt 67 +#endif + #define FIO_HUGE_PAGE 2097152 #define nop __asm__ __volatile__("rep;nop": : :"memory")