b69e9b2873
* The newer version is required by kubernetes 1.18.1 * The recipes are copied from dunfell branch in oe-core, which will be removed in the future if we move to yocto 3.0 (dunfell) or newer version. Story: 2008952 Task: 42576 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Change-Id: I1a223d3466286cf8a4a640290eee07b265d88fed
34 lines
1019 B
Diff
34 lines
1019 B
Diff
From 5e051669d117d7cd9b24cea3494959eec396ec1e Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 25 Jan 2020 22:37:25 -0800
|
|
Subject: [PATCH] /bolt_riscv64: Add support for riscv64
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
vendor/github.com/boltdb/bolt/bolt_riscv64.go | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
create mode 100644 vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
|
|
|
diff --git a/vendor/github.com/boltdb/bolt/bolt_riscv64.go b/vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
|
new file mode 100644
|
|
index 00000000..3d6b88d4
|
|
--- /dev/null
|
|
+++ b/vendor/github.com/boltdb/bolt/bolt_riscv64.go
|
|
@@ -0,0 +1,12 @@
|
|
+// +build riscv64
|
|
+
|
|
+package bolt
|
|
+
|
|
+// maxMapSize represents the largest mmap size supported by Bolt.
|
|
+const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
|
+
|
|
+// maxAllocSize is the size used when creating array pointers.
|
|
+const maxAllocSize = 0x7FFFFFFF
|
|
+
|
|
+// Are unaligned load/stores broken on this arch?
|
|
+var brokenUnaligned = false
|
|
--
|
|
2.25.0
|
|
|