diff options
Diffstat (limited to 'meta/recipes-support/db/db/arm-thumb-mutex_db5.patch')
-rw-r--r-- | meta/recipes-support/db/db/arm-thumb-mutex_db5.patch | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch b/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch index 34e8db84df..6a8eada605 100644 --- a/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch +++ b/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch | |||
@@ -10,9 +10,11 @@ Upstream-Status: Inappropriate [embedded specific] | |||
10 | 10 | ||
11 | Author: jbowler@nslu2-linux.org | 11 | Author: jbowler@nslu2-linux.org |
12 | 12 | ||
13 | --- db-5.1.19/src/dbinc/mutex_int.h.orig 2011-01-05 19:21:42.181805366 -0600 | 13 | Index: db-6.0.30/src/dbinc/mutex_int.h |
14 | +++ db-5.1.19/src/dbinc/mutex_int.h 2011-01-05 19:24:53.141853117 -0600 | 14 | =================================================================== |
15 | @@ -474,6 +474,25 @@ | 15 | --- db-6.0.30.orig/src/dbinc/mutex_int.h |
16 | +++ db-6.0.30/src/dbinc/mutex_int.h | ||
17 | @@ -474,6 +474,25 @@ typedef unsigned char tsl_t; | ||
16 | 18 | ||
17 | #ifdef LOAD_ACTUAL_MUTEX_CODE | 19 | #ifdef LOAD_ACTUAL_MUTEX_CODE |
18 | /* gcc/arm: 0 is clear, 1 is set. */ | 20 | /* gcc/arm: 0 is clear, 1 is set. */ |
@@ -38,7 +40,7 @@ Author: jbowler@nslu2-linux.org | |||
38 | #define MUTEX_SET(tsl) ({ \ | 40 | #define MUTEX_SET(tsl) ({ \ |
39 | int __r; \ | 41 | int __r; \ |
40 | __asm__ volatile( \ | 42 | __asm__ volatile( \ |
41 | @@ -484,6 +503,7 @@ | 43 | @@ -484,6 +503,7 @@ typedef unsigned char tsl_t; |
42 | ); \ | 44 | ); \ |
43 | __r & 1; \ | 45 | __r & 1; \ |
44 | }) | 46 | }) |