fio/fio-3.14-no-redef-gettid.patch

15 lines
342 B
Diff

--- fio-3.14/os/os-linux.h.orig 2019-05-22 17:29:16.413054806 -0500
+++ fio-3.14/os/os-linux.h 2019-05-22 17:29:20.977241736 -0500
@@ -124,11 +124,6 @@
return syscall(__NR_ioprio_set, which, who, ioprio);
}
-static inline int gettid(void)
-{
- return syscall(__NR_gettid);
-}
-
#define SPLICE_DEF_SIZE (64*1024)
#ifndef BLKGETSIZE64