From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) by dpdk.org (Postfix) with ESMTP id CA68D9210 for ; Sat, 5 Dec 2015 06:01:18 +0100 (CET) Received: by qgec40 with SMTP id c40so106358233qge.2 for ; Fri, 04 Dec 2015 21:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gBTtAkYWdTUHK0DnDC/gtWQk3PJT/YunGIHtPeTIJSU=; b=Fz3Jo410ieDvTvCoNqXpcwcOrzDQ/QJEpnIZkCMrkGUT3XCYjlCNpDL3lkDGQzR7gI uDM9oX/D/50IpwKxewjC5aciAMGc+JTr4phGHrVZKHPYX8Pc1nkUqPvdyFeoJajcb129 yQM8fqBZ2dxHu8M+GVWVNqTMXJ0R3eoEMJB11B9m2yzV8mKyhOQ4vA6xVCL8Fw7MFBxB fkXnI+N/EmbMO8DVHv2825TIxmOR1XQRtf4nM9B8/cG1LVIcwiyK87WjM+mB5YDGLyEA cnXgPMPNscY5+HVprR7A2tdMTeacGYpWFtfjHhn7fpidgctJFwIYcFf7UeSisko5jdej SoJw== X-Received: by 10.140.39.210 with SMTP id v76mr6008077qgv.75.1449291678452; Fri, 04 Dec 2015 21:01:18 -0800 (PST) Received: from localhost.localdomain (CPE00fc8d53ee73-CM00fc8d53ee70.cpe.net.cable.rogers.com. [99.240.150.87]) by smtp.gmail.com with ESMTPSA id d3sm5079031qkj.16.2015.12.04.21.01.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 21:01:17 -0800 (PST) From: Mike Sowka To: dev@dpdk.org Date: Sat, 5 Dec 2015 00:00:56 -0500 Message-Id: <1449291656-4900-2-git-send-email-msowka@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1449291656-4900-1-git-send-email-msowka@gmail.com> References: <1449291656-4900-1-git-send-email-msowka@gmail.com> Cc: Mike Sowka Subject: [dpdk-dev] [PATCH] sched: fix build on Atom without SSE4 support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 05:01:19 -0000 --- lib/librte_sched/rte_sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 21ebf25..6f92aa6 100644 --- a/lib/librte_sched/rte_sched.c +++ b/lib/librte_sched/rte_sched.c @@ -55,8 +55,8 @@ #ifdef RTE_SCHED_VECTOR #include -#if defined(__SSE2__) -#define SCHED_VECTOR_SSE2 +#if defined(__SSE4__) +#define SCHED_VECTOR_SSE4 #endif #endif @@ -1672,7 +1672,7 @@ grinder_schedule(struct rte_sched_port *port, uint32_t pos) return 1; } -#ifdef SCHED_VECTOR_SSE2 +#ifdef SCHED_VECTOR_SSE4 static inline int grinder_pipe_exists(struct rte_sched_port *port, uint32_t base_pipe) -- 2.1.0