diff options
author | H. Peter Anvin <[email protected]> | 2010-07-27 17:01:49 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-07-27 17:14:02 -0700 |
commit | 113fc5a6e8c2288619ff7e8187a6f556b7e0d372 (patch) | |
tree | 84393467b2174c05e7240db72ffa55ce3da67a70 /net/unix/sysctl_net_unix.c | |
parent | fc0f5ac8fe693d1b05f5a928cc48135d1c8b7f2e (diff) |
x86: Add memory modify constraints to xchg() and cmpxchg()
xchg() and cmpxchg() modify their memory operands, not merely read
them. For some versions of gcc the "memory" clobber has apparently
dealt with the situation, but not for all.
Originally-by: Linus Torvalds <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Avi Kivity <[email protected]>
Cc: Peter Palfrader <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Zachary Amsden <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions