Files
linux/arch/x86/kernel/cpu
Thomas Petazzoni 774400a3ba x86: move cmpxchg fallbacks to a generic place
arch/x86/kernel/cpu/intel.c defines a few fallback functions
(cmpxchg_*()) that are used when the CPU doesn't support cmpxchg
and/or cmpxchg64 natively. However, while defined in an Intel-specific
file, these functions are also used for CPUs from other vendors when
they don't support cmpxchg and/or cmpxchg64. This breaks the
compilation when support for Intel CPUs is disabled.

This patch moves these functions to a new
arch/x86/kernel/cpu/cmpxchg.c file, unconditionally compiled when
X86_32 is enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: michael@free-electrons.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-08-18 16:05:47 +02:00
..
2008-07-18 15:55:09 -07:00
2008-06-03 14:43:00 -07:00
2008-07-31 23:56:27 +02:00
2008-07-14 09:24:16 +02:00
2008-07-08 12:48:35 +02:00
2008-07-22 12:24:00 +02:00
2008-07-14 09:24:16 +02:00