diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-08-06 04:04:38 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-08-11 21:03:28 -0700 |
commit | 30246557a06bb20618bed906a06d1e1e0faa8bb4 (patch) | |
tree | 26f1493097b00e1cf3fdbf40b4abced115ac219d /arch/m68k/sun3/dvma.c | |
parent | 8fd49936a8cac246fc9ed85508556c82cd44cf68 (diff) |
x86, asm: Refactor atomic64_386_32.S to support old binutils and be cleaner
The old code didn't work on binutils 2.12 because setting a symbol to
a register apparently requires a fairly recent version.
This commit refactors the code to use the C preprocessor instead, and
in the process makes the whole code a bit easier to understand.
The object code produced is unchanged as expected.
This fixes kernel bugzilla 16506.
Reported-by: Dieter Stussy <kd6lvw+software@kd6lvw.ampr.org>
Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: <stable@kernel.org> 2.6.35
LKML-Reference: <tip-*@git.kernel.org>
Diffstat (limited to 'arch/m68k/sun3/dvma.c')
0 files changed, 0 insertions, 0 deletions