All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] H8300: remove unused barrier defines
       [not found] <2401183.V4Yr0kgUre@devpool21>
@ 2019-06-17 12:24 ` Rolf Eike Beer
  2019-06-18  7:04   ` Yoshinori Sato
  0 siblings, 1 reply; 2+ messages in thread
From: Rolf Eike Beer @ 2019-06-17 12:24 UTC (permalink / raw)
  To: Yoshinori Sato; +Cc: uclinux-h8-devel, linux-kernel

From c907e749917f430e3dc62048985c8419778572f9 Mon Sep 17 00:00:00 2001
From: Rolf Eike Beer <eb@emlix.com>
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 <eb@emlix.com>
---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] H8300: remove unused barrier defines
  2019-06-17 12:24 ` [PATCH RESEND] H8300: remove unused barrier defines Rolf Eike Beer
@ 2019-06-18  7:04   ` Yoshinori Sato
  0 siblings, 0 replies; 2+ messages in thread
From: Yoshinori Sato @ 2019-06-18  7:04 UTC (permalink / raw)
  To: Rolf Eike Beer; +Cc: uclinux-h8-devel, linux-kernel

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 <eb@emlix.com>
> 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 <eb@emlix.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-18  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2401183.V4Yr0kgUre@devpool21>
2019-06-17 12:24 ` [PATCH RESEND] H8300: remove unused barrier defines Rolf Eike Beer
2019-06-18  7:04   ` Yoshinori Sato

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.