kernel: Add atomic_load_acq_64()
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 30 Jul 2013 18:35:59 +0000 (20:35 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 30 Jul 2013 18:44:49 +0000 (20:44 +0200)
commit620a2dbd3a475e09c62834156a6a0ff9caf27e31
treec191ece13740a6a29d469d62b63c6f590b9ae9e9
parent7fbf24c8f33bd973814322b1c6c2987c4f9b0404
kernel: Add atomic_load_acq_64()

* This routine was already implemented on x86_64 under another name

* Take the FreeBSD i586 version for i386; this variant use a chmxchg8b
  instruction and require at least a Pentium CPU to run
sys/cpu/i386/include/atomic.h
sys/cpu/x86_64/include/atomic.h