summaryrefslogtreecommitdiff
path: root/packages/udev/udev-092
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-07-26 21:51:38 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-07-26 21:51:38 +0000
commit5774b8e796732a7c475efa1b91f0a25c1416cf7e (patch)
treec43af1973192ca1ff04186bebee6d45d21a133bc /packages/udev/udev-092
parentdb328d243fcdb3cca30000df0b798f06ba6b43ac (diff)
udev 092: Fix ARM inotify syscall
Diffstat (limited to 'packages/udev/udev-092')
-rw-r--r--packages/udev/udev-092/arm_inotify_fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/udev/udev-092/arm_inotify_fix.patch b/packages/udev/udev-092/arm_inotify_fix.patch
new file mode 100644
index 0000000000..4bd0d4d9b9
--- /dev/null
+++ b/packages/udev/udev-092/arm_inotify_fix.patch
@@ -0,0 +1,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