hc
2024-02-19 890e1df1bec891d9203724541e81f8fbe5183388
kernel/tools/perf/bench/futex.h
....@@ -86,16 +86,4 @@
8686 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2,
8787 val, opflags);
8888 }
89
-
90
-#ifndef HAVE_PTHREAD_ATTR_SETAFFINITY_NP
91
-#include <pthread.h>
92
-#include <linux/compiler.h>
93
-static inline int pthread_attr_setaffinity_np(pthread_attr_t *attr __maybe_unused,
94
- size_t cpusetsize __maybe_unused,
95
- cpu_set_t *cpuset __maybe_unused)
96
-{
97
- return 0;
98
-}
99
-#endif
100
-
10189 #endif /* _FUTEX_H */