Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp821115oof; Tue, 25 Sep 2018 05:13:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV61N0yftMMOHwy1YLihEJ+Xfcvaq6q5GFNKb40QTZqh4eqDLlk3oPZbGTHYf4EpXLeMaJ6QL X-Received: by 2002:a62:2904:: with SMTP id p4-v6mr906729pfp.128.1537877639910; Tue, 25 Sep 2018 05:13:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537877639; cv=none; d=google.com; s=arc-20160816; b=CKbhWah1Fc/Sg4xs9sSJZ9igOUwJ1lsMLnM4hhZDrVbeI/lVtHMIrjKcUSMffnSa3i HNlxVQChPPLOc7a5wJt17HRiWF1tRN3BBJRyuYk48RqVyZ9zVEqv3hnL0DV/X1vzgMS5 tFIKD8y5MiGfoop2R2Z/bUXHH+k4xobTUvcrAneBalYCv7JMsdJgr4Szd2GyCgKRxx7P ulWNzlI+PvLFdFmoTBCYb+UnVgC50w4Sr/BsUaaB23zCqhgbfZR7nK/Y/EUv45ANYjbu SI76zwwd6TwX3dVh4ne9xdCj+KJojeTpmo8/vPn7g4Z+uhNEzY11045kqvdUjymEKriX VsYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=BmpJkDN07E+AS9yjKsUuKkRKgiK5CZIb2pORABiNKMc=; b=XhdLhfTwPKHgIvyUADwsZiXnQXexVjo/trXb5/6E7dKVS10njxXbX5wD3Ukyf+qIL6 ORxozx12hfbILTZVCAHUHYRNhLEGO0+a957PytKJDCsAfPNCui0XLpH26d08++T8G2hj nBYYnIKWU+gzcnI4iAR16P1T6NDCvo8QUurHpBzn+rCC/TRAWu1EwzRY5b5780NoDluZ HWNo9u1JNPvsIvAjaTW8LaeR6lIE4WhlqvcxZPGgH96+O2alfvgmjvD/ALkEe38xKMic kbVBcZ28Bzm2RHrBpssNIy9NE1zaDxxt5hhyDuft9SRK971YhF3KiT3HYtgTfOWakqHW dfYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=awy8TMgQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v33-v6si2281744pga.450.2018.09.25.05.13.44; Tue, 25 Sep 2018 05:13:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=awy8TMgQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729124AbeIYSUZ (ORCPT + 99 others); Tue, 25 Sep 2018 14:20:25 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34957 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727531AbeIYSUZ (ORCPT ); Tue, 25 Sep 2018 14:20:25 -0400 Received: by mail-ed1-f67.google.com with SMTP id y21-v6so6865954edr.2 for ; Tue, 25 Sep 2018 05:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BmpJkDN07E+AS9yjKsUuKkRKgiK5CZIb2pORABiNKMc=; b=awy8TMgQC4gp8pAmlvDps2Pc7etAhMwF33txOl3Pk3sUgWlY/t3BYP/w6Bw3xytfG2 hZgn4dMkeXdgIcLtUfqIUPC1VC4sdBetbwyKmrRHMcaOFxv4DV1Lsi45UaZzNGP8fD/q 9Xj5A32FgKeUTh3vlWV7MP6sFgTrsn2fyQKps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BmpJkDN07E+AS9yjKsUuKkRKgiK5CZIb2pORABiNKMc=; b=Lbp+lzIeVdnHc0+3O5C5N7OOHdfSbnUcvI817lTb3G51Jtu2efQ6qYpfSkkFgxjpkY h2mLN20YhsnrqdTaxB/PnXGuNpJP0npDAhbX5mC3HOJf9e++iPgUcH8pFuBCKgZLwCZP u6SRpHXxebct1B07Z9djoZALCdwSMZs262HOIsbE8D26pfP54ncmaeNBt2EYI4A5+AVH T5e+QaHiCtDjeOjIXXlMZ2q6wk3RSbtCMUy/cuR7aHtRQ2JJR1COqOY7kUreiFbvgdC+ WQRjss1LGH6tL3BYE5uuk4hxtbXw1OY+aA23yCj2OQdeCyU9XHxrr8qKDAOkJUZZ5i7b wyfg== X-Gm-Message-State: ABuFfog9NQMpN+hNYMQxPDbBqKyhVCYEGwPWqNj2wY4doC3i5Fnqo2M2 W6DPe+WDxeHLDcV08AqP4mzq6lNd+4f0KQ== X-Received: by 2002:a50:a705:: with SMTP id h5-v6mr689686edc.162.1537877587473; Tue, 25 Sep 2018 05:13:07 -0700 (PDT) Received: from andrea.amarulasolutions.com (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id a11-v6sm6739522edn.95.2018.09.25.05.13.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 05:13:06 -0700 (PDT) From: Andrea Parri To: linux-kernel@vger.kernel.org Cc: Andrea Parri , Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp Subject: [PATCH 2/2] h8300/bitops: Remove smp_mb__{before,after}_clear_bit() Date: Tue, 25 Sep 2018 14:12:25 +0200 Message-Id: <20180925121225.9917-3-andrea.parri@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180925121225.9917-1-andrea.parri@amarulasolutions.com> References: <20180925121225.9917-1-andrea.parri@amarulasolutions.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The barriers are unused; remove their definition. Signed-off-by: Andrea Parri Cc: Yoshinori Sato Cc: --- arch/h8300/include/asm/bitops.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h index 647a83bd40b70..7aa16c732aa9f 100644 --- a/arch/h8300/include/asm/bitops.h +++ b/arch/h8300/include/asm/bitops.h @@ -51,12 +51,6 @@ static inline void FNAME(int nr, volatile unsigned long *addr) \ } \ } -/* - * clear_bit() doesn't provide any barrier for the compiler. - */ -#define smp_mb__before_clear_bit() barrier() -#define smp_mb__after_clear_bit() barrier() - H8300_GEN_BITOP(set_bit, "bset") H8300_GEN_BITOP(clear_bit, "bclr") H8300_GEN_BITOP(change_bit, "bnot") -- 2.17.1