From: Didier Nadeau Date: Wed, 16 Dec 2015 20:02:47 +0000 (-0500) Subject: Support for Xeon-Phi with newer MPSS X-Git-Tag: v0.9.2~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ab4523c0ed25e40cbcb2df69e39b4bed46bae62d;p=urcu.git Support for Xeon-Phi with newer MPSS The Xeon-Phi is now considered as a new architecture instead of a vendor in MPSS version 3.4.4. This change is backward compatible with previous MPSS versions. Signed-off-by: Didier Nadeau Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 1c2fdcc..b86f371 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,7 @@ AC_CHECK_HEADERS([ \ # Find arch type AS_CASE([$host_cpu], + [k1om], [ARCHTYPE="x86"], [i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"], [i486], [ARCHTYPE="x86"], [i586], [ARCHTYPE="x86"], @@ -189,7 +190,7 @@ AS_IF([test "x$ARCHTYPE" = "xx86"],[ # #k1om is the name for the Intel MIC family (Xeon Phi). It is an x86_64 #variant but lacks fence instructions. - AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om"],[ + AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om" -a "x$host_cpu" != "xk1om"],[ AC_MSG_RESULT([yes]) AC_DEFINE([CONFIG_RCU_HAVE_FENCE], [1]) ],[