Home
last modified time | relevance | path

Searched hist:"30246557 a06bb20618bed906a06d1e1e0faa8bb4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/lib/
H A Datomic64_386_32.Sdiff 417484d47e115774745ef025bce712a102b6f86f Thu Aug 12 09:00:35 CDT 2010 Luca Barbieri <luca@luca-barbieri.com> x86, asm: Use a lower case name for the end macro in atomic64_386_32.S

Use a lowercase name for the end macro, which somehow fixes a binutils 2.16
problem.

Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
LKML-Reference: <tip-30246557a06bb20618bed906a06d1e1e0faa8bb4@git.kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
diff 30246557a06bb20618bed906a06d1e1e0faa8bb4 Thu Aug 05 21:04:38 CDT 2010 Luca Barbieri <luca@luca-barbieri.com> 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>