summaryrefslogtreecommitdiffstats
path: root/arch/h8300
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 09:36:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 09:36:38 -0700
commit7d4901c08ae573e569dd01a29bef2ad404a40f97 (patch)
tree6e678a550ce72bc884e1bed64c6a267a5c38fbdc /arch/h8300
parent415bfd9cdb175cf870fb173ae9d3958862de2c97 (diff)
parent38ef0515e1e89794ad1797ce5fadbface4bec216 (diff)
downloadlinux-7d4901c08ae573e569dd01a29bef2ad404a40f97.tar.bz2
Merge tag 'h8300-for-linus-20190617' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux
Pull h8300 update from Yoshinori Sato: "Remove unused barrier defines" * tag 'h8300-for-linus-20190617' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux: H8300: remove unused barrier defines
Diffstat (limited to 'arch/h8300')
-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")