https://github.com/etcd-io/etcd
Revision 07b82832f018354d3ea247e7d0868c5c22fed3c2 authored by Brandon Philips on 09 August 2015, 00:40:12 UTC, committed by Yicheng Qin on 21 August 2015, 21:58:59 UTC
Follow the simple rule in the atomic package: "On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a global variable or in an allocated struct or slice can be relied upon to be 64-bit aligned." Tested on a system with /proc/cpuinfo reporting: processor : 0 model name : ARMv7 Processor rev 1 (v7l) Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc0d CPU revision : 1
1 parent 61f4e74
Tip revision: 07b82832f018354d3ea247e7d0868c5c22fed3c2 authored by Brandon Philips on 09 August 2015, 00:40:12 UTC
etcdserver: move atomics to make etcd work on arm64
etcdserver: move atomics to make etcd work on arm64
Tip revision: 07b8283
File | Mode | Size |
---|---|---|
Documentation | ||
Godeps | ||
client | ||
discovery | ||
error | ||
etcdctl | ||
etcdmain | ||
etcdserver | ||
hack | ||
integration | ||
logos | ||
migrate | ||
pkg | ||
proxy | ||
raft | ||
rafthttp | ||
scripts | ||
snap | ||
storage | ||
store | ||
tools | ||
version | ||
wal | ||
.dockerignore | -rw-r--r-- | 5 bytes |
.gitignore | -rw-r--r-- | 107 bytes |
.godir | -rw-r--r-- | 23 bytes |
.header | -rw-r--r-- | 589 bytes |
.travis.yml | -rw-r--r-- | 119 bytes |
CONTRIBUTING.md | -rw-r--r-- | 2.1 KB |
DCO | -rw-r--r-- | 1.4 KB |
Dockerfile | -rw-r--r-- | 47 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
MAINTAINERS | -rw-r--r-- | 157 bytes |
NOTICE | -rw-r--r-- | 126 bytes |
Procfile | -rw-r--r-- | 1.3 KB |
README.md | -rw-r--r-- | 4.4 KB |
ROADMAP.md | -rw-r--r-- | 1.2 KB |
build | -rwxr-xr-x | 567 bytes |
cover | -rwxr-xr-x | 626 bytes |
main.go | -rw-r--r-- | 1.1 KB |
test | -rwxr-xr-x | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...