summaryrefslogtreecommitdiff
path: root/recipes/udev/udev-092/arm_inotify_fix.patch
blob: 4bd0d4d9b9cda03e995cb21de537d448f1e83990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: udev-092/udev_libc_wrapper.h
===================================================================
--- udev-092.orig/udev_libc_wrapper.h	2006-07-26 21:55:06.000000000 +0100
+++ udev-092/udev_libc_wrapper.h	2006-07-26 21:55:37.000000000 +0100
@@ -58,9 +58,9 @@
 # define __NR_inotify_add_watch	152
 # define __NR_inotify_rm_watch	156
 #elif defined (__arm__)
-# define __NR_inotify_init	316
-# define __NR_inotify_add_watch	317
-# define __NR_inotify_rm_watch	318
+# define __NR_inotify_init	__NR_SYSCALL_BASE+316
+# define __NR_inotify_add_watch	__NR_SYSCALL_BASE+317
+# define __NR_inotify_rm_watch	__NR_SYSCALL_BASE+318
 #elif defined (__sh__)
 # define __NR_inotify_init	290
 # define __NR_inotify_add_watch	291