diff options
Diffstat (limited to 'meta/packages/udev/udev-124/noasmlinkage.patch')
-rw-r--r-- | meta/packages/udev/udev-124/noasmlinkage.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/packages/udev/udev-124/noasmlinkage.patch b/meta/packages/udev/udev-124/noasmlinkage.patch new file mode 100644 index 0000000000..d58a7ea4de --- /dev/null +++ b/meta/packages/udev/udev-124/noasmlinkage.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | diff -pru udev-124.orig/test-udev.c udev-124/test-udev.c | ||
2 | --- udev-124.orig/test-udev.c 2008-06-12 06:24:30.000000000 +0100 | ||
3 | +++ udev-124/test-udev.c 2008-07-07 14:43:37.000000000 +0100 | ||
4 | @@ -46,7 +46,7 @@ void log_message(int priority, const cha | ||
5 | } | ||
6 | #endif | ||
7 | |||
8 | -static void asmlinkage sig_handler(int signum) | ||
9 | +static void sig_handler(int signum) | ||
10 | { | ||
11 | switch (signum) { | ||
12 | case SIGALRM: | ||
13 | diff -pru udev-124.orig/udevd.c udev-124/udevd.c | ||
14 | --- udev-124.orig/udevd.c 2008-06-12 06:24:30.000000000 +0100 | ||
15 | +++ udev-124/udevd.c 2008-07-07 14:43:58.000000000 +0100 | ||
16 | @@ -87,7 +87,7 @@ void log_message(int priority, const cha | ||
17 | |||
18 | #endif | ||
19 | |||
20 | -static void asmlinkage udev_event_sig_handler(int signum) | ||
21 | +static void udev_event_sig_handler(int signum) | ||
22 | { | ||
23 | if (signum == SIGALRM) | ||
24 | exit(1); | ||
25 | @@ -798,7 +798,7 @@ static struct udevd_uevent_msg *get_netl | ||
26 | return msg; | ||
27 | } | ||
28 | |||
29 | -static void asmlinkage sig_handler(int signum) | ||
30 | +static void sig_handler(int signum) | ||
31 | { | ||
32 | switch (signum) { | ||
33 | case SIGINT: | ||
34 | diff -pru udev-124.orig/udevmonitor.c udev-124/udevmonitor.c | ||
35 | --- udev-124.orig/udevmonitor.c 2008-06-12 06:24:30.000000000 +0100 | ||
36 | +++ udev-124/udevmonitor.c 2008-07-07 14:44:24.000000000 +0100 | ||
37 | @@ -97,7 +97,7 @@ static int init_uevent_netlink_sock(void | ||
38 | return 0; | ||
39 | } | ||
40 | |||
41 | -static void asmlinkage sig_handler(int signum) | ||
42 | +static void sig_handler(int signum) | ||
43 | { | ||
44 | if (signum == SIGINT || signum == SIGTERM) | ||
45 | udev_exit = 1; | ||