From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id D592A2583 for ; Sun, 22 Apr 2018 17:10:17 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A18BC20E8C; Sun, 22 Apr 2018 11:10:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 22 Apr 2018 11:10:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=imUil8E346bQQrr0Bc6SmHpP2qFoRy3wgi2avdGq8 f4=; b=NeYu9mlbfk2qpkmlBiN5oHkU9O6/TZlyjMl0PevxATQFCTBpkq/g3rUXv 5ihl05eK1OgHG9sXkSb2N4q/XmBS7R8y2vA8fChB0+lTs+xmE9HeO6B4Ua0292n8 Hh66i0s9UwDXKvFMDy3YmMx23J4YG+YVurvV/0S6AbkOQnMKSP+qhTwfSmyrKAX5 ypvbJmxoPbkf6fZKXyFW3B7+YsDMpoAV7nyq3lgQU+hzJKOK+bA5duDJ9wxV2+hX zDb/Iegn0iXRGPvgzoxHRD6LK3Lat6BEwWMViUAJds3MUsCvjZwSENhGgAkewldC x4brEYyjPPM/gATgyEeyRVpihOUCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=imUil8E346bQQrr0B c6SmHpP2qFoRy3wgi2avdGq8f4=; b=IMeQHtLqz8LwwiXDGikcckaZswe74gA/z wGZYckKv3dkb0onAu9a0TflnMs1rMFHcq2U0zncrLSy2d4Uc4yQ1rizTfuFsj5Or mOfWqGJUguqYBw3V95/h5HEdKL8quGNfKWUQNFBiQphO8DWduQMuXWjDVGN77GPh xqCAiyWw6mHVDTEWITYc/TmmbgHSfDBbouHOCE0B894k/jsBCftj+v5EUx/JNDwN nZgCbyjuYsKSLZkmCZVe7Saaipam85Mbu27Bb9JlGcdAhYISFrdfnVEExPxBdq1z knWss977ihru+B/x+H9J4ypb3ND9deQ8T3+2HlGvCVnPvl/CYJgRQ== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 722321025A; Sun, 22 Apr 2018 11:10:12 -0400 (EDT) From: Yuanhan Liu To: Gowrishankar Muthukrishnan Cc: Luca Boccassi , Chao Zhu , dpdk stable Date: Sun, 22 Apr 2018 23:08:51 +0800 Message-Id: <20180422150949.17523-1-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-stable] patch 'eal/ppc: remove braces in SMP memory barrier macro' has been queued to LTS release 17.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2018 15:10:18 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/29/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 7ee451e8ccfc37f24511f4a84fae61c0004391a9 Mon Sep 17 00:00:00 2001 From: Gowrishankar Muthukrishnan Date: Tue, 27 Feb 2018 20:43:58 +0530 Subject: [PATCH] eal/ppc: remove braces in SMP memory barrier macro [ upstream commit da07658d58461bef714afc196569cf18377073e2 ] This patch fixes the compilation problem with rte_smp_mb, when there is else clause following it, as in test_barrier.c. Fixes: 05c3fd7110 ("eal/ppc: atomic operations for IBM Power") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Luca Boccassi Acked-by: Chao Zhu --- lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h index 6993dd29a..3a80311bc 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h @@ -55,7 +55,7 @@ extern "C" { * Guarantees that the LOAD and STORE operations generated before the * barrier occur before the LOAD and STORE operations generated after. */ -#define rte_mb() {asm volatile("sync" : : : "memory"); } +#define rte_mb() asm volatile("sync" : : : "memory") /** * Write memory barrier. -- 2.11.0