summaryrefslogtreecommitdiff
path: root/meta/recipes-core/udev/udev-145/noasmlinkage.patch
blob: 6d22b1d681636f15bc540dec423f38a816a6de7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Upstream-Status: Inappropriate [legacy version]

Index: udev-141/udev/test-udev.c
===================================================================
--- udev-141.orig/udev/test-udev.c	2008-10-24 09:07:24.000000000 +0100
+++ udev-141/udev/test-udev.c	2009-04-14 15:34:01.000000000 +0100
@@ -30,7 +30,7 @@
 
 #include "udev.h"
 
-static void asmlinkage sig_handler(int signum)
+static void sig_handler(int signum)
 {
 	switch (signum) {
 		case SIGALRM:
Index: udev-141/udev/udevadm-monitor.c
===================================================================
--- udev-141.orig/udev/udevadm-monitor.c	2009-03-29 19:07:01.000000000 +0100
+++ udev-141/udev/udevadm-monitor.c	2009-04-14 15:34:01.000000000 +0100
@@ -35,7 +35,7 @@
 
 static int udev_exit;
 
-static void asmlinkage sig_handler(int signum)
+static void sig_handler(int signum)
 {
 	if (signum == SIGINT || signum == SIGTERM)
 		udev_exit = 1;
Index: udev-141/udev/udevd.c
===================================================================
--- udev-141.orig/udev/udevd.c	2009-03-29 19:07:01.000000000 +0100
+++ udev-141/udev/udevd.c	2009-04-14 15:34:56.000000000 +0100
@@ -172,7 +172,7 @@
 	udev_event_unref(event);
 }
 
-static void asmlinkage event_sig_handler(int signum)
+static void event_sig_handler(int signum)
 {
 	if (signum == SIGALRM)
 		exit(1);
@@ -583,7 +583,7 @@
 	return 0;
 }
 
-static void asmlinkage sig_handler(int signum)
+static void sig_handler(int signum)
 {
 	switch (signum) {
 		case SIGINT: