kernel_optimize_test/arch/x86
Luca Barbieri 30246557a0 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>
2010-08-11 21:03:28 -07:00
..
boot x86, setup: Set ax register in boot vga query 2010-06-10 15:24:29 -07:00
configs
crypto
ia32
include/asm x86: Document __phys_reloc_hide() usage in __pa_symbol() 2010-08-11 08:43:49 +02:00
kernel x86, apic: Map the local apic when parsing the MP table. 2010-08-05 16:26:42 -07:00
kvm KVM: Use kmalloc() instead of vmalloc() for KVM_[GS]ET_MSR 2010-07-23 09:07:14 +03:00
lguest Merge branch 'ht-delete-2.6.35' into release 2010-05-28 16:20:35 -04:00
lib x86, asm: Refactor atomic64_386_32.S to support old binutils and be cleaner 2010-08-11 21:03:28 -07:00
math-emu
mm rbtree: Undo augmented trees performance damage and regression 2010-07-05 14:43:50 +02:00
oprofile
pci Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2010-07-19 13:19:32 -07:00
power PM / x86: Save/restore MISC_ENABLE register 2010-06-08 00:32:49 +02:00
tools
vdso
video
xen xen: ensure timer tick is resumed even on CPU driving the resume 2010-06-03 09:34:04 +01:00
.gitignore
Kbuild
Kconfig numa: x86_64: use generic percpu var numa_node_id() implementation 2010-05-27 09:12:57 -07:00
Kconfig.cpu
Kconfig.debug
Makefile
Makefile_32.cpu