diff options
| author | Eric Dumazet <[email protected]> | 2012-01-03 16:35:40 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-01-04 14:01:56 +0000 |
| commit | ceb7b40b65539a771d1bfaf47660ac0ee57e0c4f (patch) | |
| tree | 77bae0c2bf43b9f415d99d1e3a8dc0667404f965 /net/unix/af_unix.c | |
| parent | x86: Fix and improve cmpxchg_double{,_local}() (diff) | |
| download | kernel-ceb7b40b65539a771d1bfaf47660ac0ee57e0c4f.tar.gz kernel-ceb7b40b65539a771d1bfaf47660ac0ee57e0c4f.zip | |
x86: Fix atomic64_xxx_cx8() functions
It appears about all functions in arch/x86/lib/atomic64_cx8_32.S
are wrong in case cmpxchg8b must be restarted, because
LOCK_PREFIX macro defines a label "1" clashing with other local
labels :
1:
some_instructions
LOCK_PREFIX
cmpxchg8b (%ebp)
jne 1b / jumps to beginning of LOCK_PREFIX !
A possible fix is to use a magic label "672" in LOCK_PREFIX asm
definition, similar to the "671" one we defined in
LOCK_PREFIX_HERE.
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Jan Beulich <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/1325608540.2320.103.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
