~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to src/pkg/runtime/atomic_amd64.c

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-07-08 05:52:37 UTC
  • mfrom: (29.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130708055237-at01839e0hp8z3ni
Tags: 2:1.1-1ubuntu1
016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
}
13
13
 
14
14
#pragma textflag 7
 
15
uint64
 
16
runtime·atomicload64(uint64 volatile* addr)
 
17
{
 
18
        return *addr;
 
19
}
 
20
 
 
21
#pragma textflag 7
15
22
void*
16
23
runtime·atomicloadp(void* volatile* addr)
17
24
{