diff options
Diffstat (limited to 'meta/packages/udev/udev-145/noasmlinkage.patch')
-rw-r--r-- | meta/packages/udev/udev-145/noasmlinkage.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/udev/udev-145/noasmlinkage.patch b/meta/packages/udev/udev-145/noasmlinkage.patch new file mode 100644 index 0000000000..6f9fe948f2 --- /dev/null +++ b/meta/packages/udev/udev-145/noasmlinkage.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | Index: udev-141/udev/test-udev.c | ||
2 | =================================================================== | ||
3 | --- udev-141.orig/udev/test-udev.c 2008-10-24 09:07:24.000000000 +0100 | ||
4 | +++ udev-141/udev/test-udev.c 2009-04-14 15:34:01.000000000 +0100 | ||
5 | @@ -30,7 +30,7 @@ | ||
6 | |||
7 | #include "udev.h" | ||
8 | |||
9 | -static void asmlinkage sig_handler(int signum) | ||
10 | +static void sig_handler(int signum) | ||
11 | { | ||
12 | switch (signum) { | ||
13 | case SIGALRM: | ||
14 | Index: udev-141/udev/udevadm-monitor.c | ||
15 | =================================================================== | ||
16 | --- udev-141.orig/udev/udevadm-monitor.c 2009-03-29 19:07:01.000000000 +0100 | ||
17 | +++ udev-141/udev/udevadm-monitor.c 2009-04-14 15:34:01.000000000 +0100 | ||
18 | @@ -35,7 +35,7 @@ | ||
19 | |||
20 | static int udev_exit; | ||
21 | |||
22 | -static void asmlinkage sig_handler(int signum) | ||
23 | +static void sig_handler(int signum) | ||
24 | { | ||
25 | if (signum == SIGINT || signum == SIGTERM) | ||
26 | udev_exit = 1; | ||
27 | Index: udev-141/udev/udevd.c | ||
28 | =================================================================== | ||
29 | --- udev-141.orig/udev/udevd.c 2009-03-29 19:07:01.000000000 +0100 | ||
30 | +++ udev-141/udev/udevd.c 2009-04-14 15:34:56.000000000 +0100 | ||
31 | @@ -172,7 +172,7 @@ | ||
32 | udev_event_unref(event); | ||
33 | } | ||
34 | |||
35 | -static void asmlinkage event_sig_handler(int signum) | ||
36 | +static void event_sig_handler(int signum) | ||
37 | { | ||
38 | if (signum == SIGALRM) | ||
39 | exit(1); | ||
40 | @@ -583,7 +583,7 @@ | ||
41 | return 0; | ||
42 | } | ||
43 | |||
44 | -static void asmlinkage sig_handler(int signum) | ||
45 | +static void sig_handler(int signum) | ||
46 | { | ||
47 | switch (signum) { | ||
48 | case SIGINT: | ||