projects/linux·commit 7d4901c0

Merge tag 'h8300-for-linus-20190617' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux

7d4901c0 · Linus Torvalds <[email protected]> · 2019-07-17 09:36:38 -07:00

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
Commit
7d4901c08ae573e569dd01a29bef2ad404a40f97
Parents
415bfd9c · 38ef0515

Merge commit. Changes below are compared with the first parent: 415bfd9c.

Changes

1 files changed · +0 −6

FileStatusAddDelContent
arch/h8300/include/asm/bitops.hmodified+0−6View file

arch/h8300/include/asm/bitops.h

View file
diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h
index 647a83b..7aa16c7 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")