From ede7f7ed58d034507643a98aeca453dba0f497fb Mon Sep 17 00:00:00 2001
From: build <build@obs.com>
Date: Thu, 5 Jan 2023 12:37:27 +0000
Subject: [PATCH] containerd add blot symbol to support loong64

---
 vendor/go.etcd.io/bbolt/bolt_loong64.go | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 vendor/go.etcd.io/bbolt/bolt_loong64.go

diff --git a/vendor/go.etcd.io/bbolt/bolt_loong64.go b/vendor/go.etcd.io/bbolt/bolt_loong64.go
new file mode 100644
index 0000000..bb402fb
--- /dev/null
+++ b/vendor/go.etcd.io/bbolt/bolt_loong64.go
@@ -0,0 +1,13 @@
+// +build loong64 
+
+package bbolt
+
+// maxMapSize represents the largest mmap size supported by Bolt.
+const maxMapSize = 0x8000000000 // 512GB
+
+// maxAllocSize is the size used when creating array pointers.
+const maxAllocSize = 0x7FFFFFFF
+
+// Are unaligned load/stores broken on this arch?
+var brokenUnaligned = false
+
-- 
2.33.0

