Commit 7d4901c0 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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
parents 415bfd9c 38ef0515
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -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(set_bit,    "bset")
H8300_GEN_BITOP(clear_bit,  "bclr")
H8300_GEN_BITOP(clear_bit,  "bclr")
H8300_GEN_BITOP(change_bit, "bnot")
H8300_GEN_BITOP(change_bit, "bnot")