From patchwork Wed Jun 7 12:58:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Morey-Chaisemartin X-Patchwork-Id: 9771495 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E2F0560350 for ; Wed, 7 Jun 2017 12:58:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2F6526E39 for ; Wed, 7 Jun 2017 12:58:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5CB8283A6; Wed, 7 Jun 2017 12:58:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 616A126E39 for ; Wed, 7 Jun 2017 12:58:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751473AbdFGM6m (ORCPT ); Wed, 7 Jun 2017 08:58:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:43912 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751467AbdFGM6l (ORCPT ); Wed, 7 Jun 2017 08:58:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 5E275AD20 for ; Wed, 7 Jun 2017 12:58:40 +0000 (UTC) From: Nicolas Morey-Chaisemartin Subject: [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x To: linux-rdma@vger.kernel.org Message-ID: <88cef736-88c3-08d9-4042-fd73b2d4cb97@suse.de> Date: Wed, 7 Jun 2017 14:58:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0 MIME-Version: 1.0 Content-Language: fr-xx-classique+reforme1990 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Due to a missing #else, udma_barrier.h failed on sparc and s390x Signed-off-by: Nicolas Morey-Chaisemartin Reviewed-by: Jason Gunthorpe --- util/udma_barrier.h | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/util/udma_barrier.h b/util/udma_barrier.h index 9932a687..23acf233 100644 --- a/util/udma_barrier.h +++ b/util/udma_barrier.h @@ -192,6 +192,7 @@ #define mmio_flush_writes() asm volatile("dsb st" ::: "memory"); #elif defined(__sparc__) || defined(__s390x__) #define mmio_flush_writes() asm volatile("" ::: "memory") +#else #error No architecture specific memory barrier defines found! #endif