summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 18:36:38 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-07-17 18:36:38 +0200
commit7d4901c08ae573e569dd01a29bef2ad404a40f97 (patch)
tree6e678a550ce72bc884e1bed64c6a267a5c38fbdc /arch/h8300/include
parentMerge tag 'for-linus-20190617' of git://git.sourceforge.jp/gitroot/uclinux-h8... (diff)
parentH8300: remove unused barrier defines (diff)
downloadlinux-7d4901c08ae573e569dd01a29bef2ad404a40f97.tar.xz
linux-7d4901c08ae573e569dd01a29bef2ad404a40f97.zip
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/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")