diff options
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch')
| -rw-r--r-- | meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch index 865ad3287b..a1f5b2a7b4 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch | |||
| @@ -13,7 +13,7 @@ diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h | |||
| 13 | index 3fe29ce..7cd578f 100644 | 13 | index 3fe29ce..7cd578f 100644 |
| 14 | --- a/src/include/storage/s_lock.h | 14 | --- a/src/include/storage/s_lock.h |
| 15 | +++ b/src/include/storage/s_lock.h | 15 | +++ b/src/include/storage/s_lock.h |
| 16 | @@ -316,11 +316,12 @@ tas(volatile slock_t *lock) | 16 | @@ -317,11 +317,12 @@ tas(volatile slock_t *lock) |
| 17 | 17 | ||
| 18 | /* | 18 | /* |
| 19 | * On ARM and ARM64, we use __sync_lock_test_and_set(int *, int) if available. | 19 | * On ARM and ARM64, we use __sync_lock_test_and_set(int *, int) if available. |
| @@ -27,7 +27,7 @@ index 3fe29ce..7cd578f 100644 | |||
| 27 | #ifdef HAVE_GCC__SYNC_INT32_TAS | 27 | #ifdef HAVE_GCC__SYNC_INT32_TAS |
| 28 | #define HAS_TEST_AND_SET | 28 | #define HAS_TEST_AND_SET |
| 29 | 29 | ||
| 30 | @@ -337,7 +338,7 @@ tas(volatile slock_t *lock) | 30 | @@ -338,7 +339,7 @@ tas(volatile slock_t *lock) |
| 31 | #define S_UNLOCK(lock) __sync_lock_release(lock) | 31 | #define S_UNLOCK(lock) __sync_lock_release(lock) |
| 32 | 32 | ||
| 33 | #endif /* HAVE_GCC__SYNC_INT32_TAS */ | 33 | #endif /* HAVE_GCC__SYNC_INT32_TAS */ |
| @@ -35,7 +35,7 @@ index 3fe29ce..7cd578f 100644 | |||
| 35 | +#endif /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */ | 35 | +#endif /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */ |
| 36 | 36 | ||
| 37 | 37 | ||
| 38 | /* S/390 and S/390x Linux (32- and 64-bit zSeries) */ | 38 | /* |
| 39 | -- | 39 | -- |
| 40 | 2.9.3 | 40 | 2.9.3 |
| 41 | 41 | ||
