diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-03-11 21:42:02 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-25 06:00:17 +0530 |
commit | 470c27e4695add2a4e167467775081870d83185a (patch) | |
tree | 49e14d2e7ec8dcdf2884589614783d6421c29665 /arch/arc/include/asm/barrier.h | |
parent | 2576c28e3f623ed401db7e6197241865328620ef (diff) | |
download | linux-470c27e4695add2a4e167467775081870d83185a.tar.gz linux-470c27e4695add2a4e167467775081870d83185a.tar.bz2 linux-470c27e4695add2a4e167467775081870d83185a.zip |
arch: conditionally define smp_{mb,rmb,wmb}
That way arches can define the minimal versions and still #include
asm-generic for defaults (vs. defining defaults in arch code)
See new barrier.h in arc for usage !
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/barrier.h')
0 files changed, 0 insertions, 0 deletions