summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
diff options
context:
space:
mode:
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.patch13
1 files changed, 5 insertions, 8 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 a1f5b2a7b4..e5fb85170b 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
@@ -9,10 +9,10 @@ extending the existing aarch64 macro works.
9 src/include/storage/s_lock.h | 5 +++-- 9 src/include/storage/s_lock.h | 5 +++--
10 1 file changed, 3 insertions(+), 2 deletions(-) 10 1 file changed, 3 insertions(+), 2 deletions(-)
11 11
12diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h 12Index: postgresql-12.16/src/include/storage/s_lock.h
13index 3fe29ce..7cd578f 100644 13===================================================================
14--- a/src/include/storage/s_lock.h 14--- postgresql-12.16.orig/src/include/storage/s_lock.h
15+++ b/src/include/storage/s_lock.h 15+++ postgresql-12.16/src/include/storage/s_lock.h
16@@ -317,11 +317,12 @@ tas(volatile slock_t *lock) 16@@ -317,11 +317,12 @@ tas(volatile slock_t *lock)
17 17
18 /* 18 /*
@@ -35,7 +35,4 @@ index 3fe29ce..7cd578f 100644
35+#endif /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */ 35+#endif /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */
36 36
37 37
38 /* 38 /* S/390 and S/390x Linux (32- and 64-bit zSeries) */
39--
402.9.3
41