forked from pool/docker
0a40d1c851
- more patches to build on ppc64 architecture update netlink_gcc_go.patch new netlink_netns_powerpc.patch new boltdb_bolt_powerpc.patch new libnetwork_drivers_bridge_powerpc.patch to replace deleted fix-ppc64le.patch OBS-URL: https://build.opensuse.org/request/show/367638 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=81
19 lines
582 B
Diff
19 lines
582 B
Diff
---
|
|
vendor/src/github.com/boltdb/bolt/bolt_ppc64.go | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
Index: docker-1.10.2/vendor/src/github.com/boltdb/bolt/bolt_ppc64.go
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ docker-1.10.2/vendor/src/github.com/boltdb/bolt/bolt_ppc64.go
|
|
@@ -0,0 +1,9 @@
|
|
+// +build ppc64
|
|
+
|
|
+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
|