aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbe <loki@lokis-chaos.de>2016-11-04 12:25:04 +0100
committerGitHub <noreply@github.com>2016-11-04 12:25:04 +0100
commit84658f4d37fe1cde06ac729c898e66b13bab6568 (patch)
tree9e54da56b97aebea6ef0c9f98cdaf82ba646647e
parentMerge pull request #611 from jaredfolkins/master (diff)
downloaddedo-84658f4d37fe1cde06ac729c898e66b13bab6568.tar.gz
dedo-84658f4d37fe1cde06ac729c898e66b13bab6568.tar.xz
[ppc64] added missing variable
The variable `brokenUnaligned` was missing for ppc64.
-rw-r--r--bolt_ppc64.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bolt_ppc64.go b/bolt_ppc64.go
index 2dc6be0..9331d97 100644
--- a/bolt_ppc64.go
+++ b/bolt_ppc64.go
@@ -7,3 +7,6 @@ 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