summaryrefslogtreecommitdiffstats
path: root/tools/arch/x86/include/asm/unistd_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/x86/include/asm/unistd_32.h')
-rw-r--r--tools/arch/x86/include/asm/unistd_32.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/arch/x86/include/asm/unistd_32.h b/tools/arch/x86/include/asm/unistd_32.h
new file mode 100644
index 000000000..60a89dba0
--- /dev/null
+++ b/tools/arch/x86/include/asm/unistd_32.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __NR_perf_event_open
+# define __NR_perf_event_open 336
+#endif
+#ifndef __NR_futex
+# define __NR_futex 240
+#endif
+#ifndef __NR_gettid
+# define __NR_gettid 224
+#endif
+#ifndef __NR_getcpu
+# define __NR_getcpu 318
+#endif
+#ifndef __NR_setns
+# define __NR_setns 346
+#endif