From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04DAAC31E51 for ; Tue, 18 Jun 2019 07:05:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C69C920823 for ; Tue, 18 Jun 2019 07:05:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728769AbfFRHFF convert rfc822-to-8bit (ORCPT ); Tue, 18 Jun 2019 03:05:05 -0400 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:44631 "EHLO mail01.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfFRHFF (ORCPT ); Tue, 18 Jun 2019 03:05:05 -0400 Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.ablenetvps.ne.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail01.asahi-net.or.jp (Postfix) with ESMTPA id 3B7CF126CC8; Tue, 18 Jun 2019 16:05:02 +0900 (JST) Received: from yo-satoh-debian.ysato.ml (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 15E80240085; Tue, 18 Jun 2019 16:05:01 +0900 (JST) Date: Tue, 18 Jun 2019 16:04:58 +0900 Message-ID: <877e9jv0f9.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Rolf Eike Beer Cc: uclinux-h8-devel@lists.sourceforge.jp, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] H8300: remove unused barrier defines In-Reply-To: <5435162.LEDey6R3HY@devpool35> References: <2401183.V4Yr0kgUre@devpool21> <5435162.LEDey6R3HY@devpool35> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Jun 2019 21:24:12 +0900, Rolf Eike Beer wrote: > > From c907e749917f430e3dc62048985c8419778572f9 Mon Sep 17 00:00:00 2001 > From: Rolf Eike Beer > Date: Fri, 14 Jul 2017 11:19:08 +0200 > Subject: [PATCH] H8300: remove unused barrier defines > > They were introduced in d2a5f4999f6c211adf30d9788349e13988d6f2a7 long after > 2e39465abc4b7856a0ea6fcf4f6b4668bb5db877 removed the remnants of all previous > instances from the tree. > > Signed-off-by: Rolf Eike Beer > --- > 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 647a83bd40b7..7aa16c732aa9 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.21.0 > -- > Rolf Eike Beer, emlix GmbH, http://www.emlix.com > Fon +49 551 30664-0, Fax +49 551 30664-11 > Gothaer Platz 3, 37083 Göttingen, Germany > Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 > Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055 > > emlix - smart embedded open source > > Applied h8300-next. Thanks. -- Yosinori Sato