Home
last modified time | relevance | path

Searched hist:"774400 a3" (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/arch/x86/kernel/cpu/
H A DMakefile774400a3 Mon Aug 18 10:33:21 GMT 2008 Thomas Petazzoni <[email protected]> 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 <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
H A Dintel.c774400a3 Mon Aug 18 10:33:21 GMT 2008 Thomas Petazzoni <[email protected]> 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 <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>