diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0084-fix-ignored-SIGALRM-signals-on-some-platforms.patch')
-rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0084-fix-ignored-SIGALRM-signals-on-some-platforms.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0084-fix-ignored-SIGALRM-signals-on-some-platforms.patch b/recipes-kernel/cryptodev/sdk_patches/0084-fix-ignored-SIGALRM-signals-on-some-platforms.patch deleted file mode 100644 index aa05f98f..00000000 --- a/recipes-kernel/cryptodev/sdk_patches/0084-fix-ignored-SIGALRM-signals-on-some-platforms.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 1bcef054cfc094e51c9c3cb1048b8bf909326082 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Fri, 28 Oct 2016 17:41:09 +0300 | ||
4 | Subject: [PATCH 084/104] fix ignored SIGALRM signals on some platforms | ||
5 | |||
6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
7 | --- | ||
8 | tests/async_speed.c | 4 ++-- | ||
9 | tests/sync_speed.c | 4 ++-- | ||
10 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
11 | |||
12 | diff --git a/tests/async_speed.c b/tests/async_speed.c | ||
13 | index d843c02..eb8468d 100644 | ||
14 | --- a/tests/async_speed.c | ||
15 | +++ b/tests/async_speed.c | ||
16 | @@ -76,8 +76,8 @@ static double udifftimeval(struct timeval start, struct timeval end) | ||
17 | (double)(end.tv_sec - start.tv_sec) * 1000 * 1000; | ||
18 | } | ||
19 | |||
20 | -static int must_finish = 0; | ||
21 | -static int must_exit = 0; | ||
22 | +static volatile int must_finish; | ||
23 | +static volatile int must_exit; | ||
24 | static struct pollfd pfd; | ||
25 | |||
26 | static void alarm_handler(int signo) | ||
27 | diff --git a/tests/sync_speed.c b/tests/sync_speed.c | ||
28 | index 56cd3aa..ba1d170 100644 | ||
29 | --- a/tests/sync_speed.c | ||
30 | +++ b/tests/sync_speed.c | ||
31 | @@ -71,8 +71,8 @@ static double udifftimeval(struct timeval start, struct timeval end) | ||
32 | (double)(end.tv_sec - start.tv_sec) * 1000 * 1000; | ||
33 | } | ||
34 | |||
35 | -static int must_finish = 0; | ||
36 | -static int must_exit = 0; | ||
37 | +static volatile int must_finish; | ||
38 | +static volatile int must_exit; | ||
39 | |||
40 | static void alarm_handler(int signo) | ||
41 | { | ||
42 | -- | ||
43 | 2.10.2 | ||
44 | |||