summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev-092/arm_inotify_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/udev/udev-092/arm_inotify_fix.patch')
-rw-r--r--meta/recipes-core/udev/udev-092/arm_inotify_fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev-092/arm_inotify_fix.patch b/meta/recipes-core/udev/udev-092/arm_inotify_fix.patch
new file mode 100644
index 0000000000..4bd0d4d9b9
--- /dev/null
+++ b/meta/recipes-core/udev/udev-092/arm_inotify_fix.patch
@@ -0,0 +1,17 @@
1Index: udev-092/udev_libc_wrapper.h
2===================================================================
3--- udev-092.orig/udev_libc_wrapper.h 2006-07-26 21:55:06.000000000 +0100
4+++ udev-092/udev_libc_wrapper.h 2006-07-26 21:55:37.000000000 +0100
5@@ -58,9 +58,9 @@
6 # define __NR_inotify_add_watch 152
7 # define __NR_inotify_rm_watch 156
8 #elif defined (__arm__)
9-# define __NR_inotify_init 316
10-# define __NR_inotify_add_watch 317
11-# define __NR_inotify_rm_watch 318
12+# define __NR_inotify_init __NR_SYSCALL_BASE+316
13+# define __NR_inotify_add_watch __NR_SYSCALL_BASE+317
14+# define __NR_inotify_rm_watch __NR_SYSCALL_BASE+318
15 #elif defined (__sh__)
16 # define __NR_inotify_init 290
17 # define __NR_inotify_add_watch 291