xen/x86: Correct mandatory and SMP barrier definitions
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 2 Dec 2016 15:00:41 +0000 (15:00 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 3 Jan 2018 13:02:54 +0000 (13:02 +0000)
commitf98689c6cd6b0d04e7a02c24ce08591216f910ab
tree279418dd04ce259ee47fe40887c8005af9fe61fd
parent6abb6f092e0b7035d0155607f8cb194ca9663712
xen/x86: Correct mandatory and SMP barrier definitions

Barriers are a complicated topic, a source of confusion, and their incorrect
use is a common cause of bugs.  It really doesn't help when Xen's API is the
same as Linux, but its ABI different.

Bring the two back in line, so programmers stand a chance of actually getting
their usage correct.

Drop the links in the comment, both of which are now stale.  Instead, refer to
the vendor system manuals in a generic way.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/system.h
xen/include/asm-x86/x86_64/system.h