From: Michael Jeanson Date: Tue, 7 Dec 2021 20:22:23 +0000 (-0500) Subject: cleanup: i386 arch detection X-Git-Tag: v0.14.0~40 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5ee141704eaf9f77795fd573873d4bea5f136c71;p=urcu.git cleanup: i386 arch detection On x86-32, '__i386__' or '__i386' is always defined regardless of the march / mtune value, simplify the detection code. Change-Id: Icadabc60554b58d5d2611ec58f3efff9aa067dac Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/include/urcu/arch.h b/include/urcu/arch.h index 2bffdbe..d3914da 100644 --- a/include/urcu/arch.h +++ b/include/urcu/arch.h @@ -64,7 +64,7 @@ #define URCU_ARCH_AMD64 1 #include -#elif (defined(__i386__) || defined(__i386) || defined(__i486__) || defined(__i586__) || defined(__i686__)) +#elif (defined(__i386__) || defined(__i386)) #define URCU_ARCH_X86 1