summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2019-06-17 14:24:12 +0200
committerYoshinori Sato <ysato@users.sourceforge.jp>2019-06-18 16:04:19 +0900
commit38ef0515e1e89794ad1797ce5fadbface4bec216 (patch)
treeafc3117425519aa953bda6a28e1cc419b85a0730 /arch/h8300/include
parent3ab4436f688c2d2f221793953cd05435ca84261c (diff)
downloadlinux-38ef0515e1e89794ad1797ce5fadbface4bec216.tar.bz2
H8300: remove unused barrier defines
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> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/include')
-rw-r--r--arch/h8300/include/asm/bitops.h6
1 files changed, 0 insertions, 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")