aports/testing/py3-inotify/aarch64.patch
2021-04-15 23:22:13 +00:00

25 lines
828 B
Diff

From d2431fef8dfcf75adb5eae8357be4f19a8178234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Sat, 15 Apr 2017 14:19:32 +0200
Subject: [PATCH] Add system calls numbers for aarch64
---
common/inotify_syscalls.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/inotify_syscalls.c b/common/inotify_syscalls.c
index 5e1f95d..bb173f8 100644
--- a/common/inotify_syscalls.c
+++ b/common/inotify_syscalls.c
@@ -60,6 +60,10 @@
# define __NR_inotify_init 316
# define __NR_inotify_add_watch 317
# define __NR_inotify_rm_watch 318
+# elif defined (__aarch64__)
+# define __NR_inotify_init 26
+# define __NR_inotify_add_watch 27
+# define __NR_inotify_rm_watch 28
# elif defined (__sh__)
# define __NR_inotify_init 290
# define __NR_inotify_add_watch 291