aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_cache.h
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-08-05 22:04:38 -0400
committerH. Peter Anvin <hpa@zytor.com>2010-08-12 00:03:28 -0400
commit30246557a06bb20618bed906a06d1e1e0faa8bb4 (patch)
tree26f1493097b00e1cf3fdbf40b4abced115ac219d /include/drm/drm_cache.h
parent8fd49936a8cac246fc9ed85508556c82cd44cf68 (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 'include/drm/drm_cache.h')
0 files changed, 0 insertions, 0 deletions